DBPropGet(): error: assignment to 'char *' from 'ClientData'
GCC14 --without-tk --without-tcl Related issue: https://github.com/RTimothyEdwards/magic/issues/323
This commit is contained in:
parent
0a4e2a5a27
commit
8994a68e61
|
|
@ -1603,7 +1603,7 @@ dbAbutmentUseFunc(selUse, use, transform, data)
|
|||
}
|
||||
|
||||
trans = &use->cu_transform;
|
||||
propvalue = DBPropGet(use->cu_def, "FIXED_BBOX", &found);
|
||||
propvalue = (char *)DBPropGet(use->cu_def, "FIXED_BBOX", &found);
|
||||
if (!found)
|
||||
bbox = use->cu_def->cd_bbox;
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1357,7 +1357,7 @@ DefReadLocation(use, f, oscale, tptr, noplace)
|
|||
char *propval;
|
||||
bool found;
|
||||
|
||||
propval = DBPropGet(use->cu_def, "FIXED_BBOX", &found);
|
||||
propval = (char *)DBPropGet(use->cu_def, "FIXED_BBOX", &found);
|
||||
if (found)
|
||||
{
|
||||
if (sscanf(propval, "%d %d %d %d", &rect.r_xbot, &rect.r_ybot,
|
||||
|
|
|
|||
|
|
@ -2772,7 +2772,7 @@ arrayDefFunc(use, transform, x, y, defdata)
|
|||
char *propval;
|
||||
bool found;
|
||||
|
||||
propval = DBPropGet(use->cu_def, "FIXED_BBOX", &found);
|
||||
propval = (char *)DBPropGet(use->cu_def, "FIXED_BBOX", &found);
|
||||
if (found)
|
||||
{
|
||||
if (sscanf(propval, "%d %d %d %d", &rect.r_xbot, &rect.r_ybot,
|
||||
|
|
@ -2830,7 +2830,7 @@ defComponentFunc(cellUse, defdata)
|
|||
char *propval;
|
||||
bool found;
|
||||
|
||||
propval = DBPropGet(cellUse->cu_def, "FIXED_BBOX", &found);
|
||||
propval = (char *)DBPropGet(cellUse->cu_def, "FIXED_BBOX", &found);
|
||||
if (found)
|
||||
{
|
||||
if (sscanf(propval, "%d %d %d %d", &rect.r_xbot, &rect.r_ybot,
|
||||
|
|
|
|||
Loading…
Reference in New Issue