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:
Darryl L. Miles
2024-10-09 20:35:19 -04:00
committed by Tim Edwards
parent 8994a68e61
commit 23930909b1
+1 -1
View File
@@ -3334,7 +3334,7 @@ dbGetPropFunc(key, value, propRec)
propRec->keyValueList[propRec->idx] =
(struct keyValuePair *)mallocMagic(sizeof(struct keyValuePair));
propRec->keyValueList[propRec->idx]->key = key;
propRec->keyValueList[propRec->idx]->value = value;
propRec->keyValueList[propRec->idx]->value = (char *)value;
propRec->idx++;
return 0;