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-02 06:59:00 +01:00 committed by Tim Edwards
parent 8994a68e61
commit 23930909b1
1 changed files with 1 additions and 1 deletions

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;