From 23930909b18f097e8cf3c693b5f9f4389071f054 Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Wed, 2 Oct 2024 06:59:00 +0100 Subject: [PATCH] database/DBio.c: error: assignment to 'char *' from 'ClientData' GCC14 --without-tk --without-tcl Related issue: https://github.com/RTimothyEdwards/magic/issues/323 --- database/DBio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/DBio.c b/database/DBio.c index 27a03b3a..0039d6f4 100644 --- a/database/DBio.c +++ b/database/DBio.c @@ -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;