database/DBio.c: 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
8994a68e61
commit
23930909b1
|
|
@ -3334,7 +3334,7 @@ dbGetPropFunc(key, value, propRec)
|
||||||
propRec->keyValueList[propRec->idx] =
|
propRec->keyValueList[propRec->idx] =
|
||||||
(struct keyValuePair *)mallocMagic(sizeof(struct keyValuePair));
|
(struct keyValuePair *)mallocMagic(sizeof(struct keyValuePair));
|
||||||
propRec->keyValueList[propRec->idx]->key = key;
|
propRec->keyValueList[propRec->idx]->key = key;
|
||||||
propRec->keyValueList[propRec->idx]->value = value;
|
propRec->keyValueList[propRec->idx]->value = (char *)value;
|
||||||
propRec->idx++;
|
propRec->idx++;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue