summaryrefslogtreecommitdiffstats
path: root/src/misc/hash/hashGen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/hash/hashGen.h')
-rw-r--r--src/misc/hash/hashGen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/hash/hashGen.h b/src/misc/hash/hashGen.h
index 257b9dba..fc1b82c3 100644
--- a/src/misc/hash/hashGen.h
+++ b/src/misc/hash/hashGen.h
@@ -229,7 +229,7 @@ static inline void Hash_GenWriteEntry( Hash_Gen_t *p, void * key, void * data )
p->nSize++;
(*pLast) = pEntry = ABC_ALLOC( Hash_Gen_Entry_t, 1 );
pEntry->pNext = NULL;
- pEntry->key = key;
+ pEntry->key = (char *)key;
pEntry->data = data;
return;
@@ -271,7 +271,7 @@ static inline Hash_Gen_Entry_t * Hash_GenEntry( Hash_Gen_t *p, void * key, int f
p->nSize++;
(*pLast) = pEntry = ABC_ALLOC( Hash_Gen_Entry_t, 1 );
pEntry->pNext = NULL;
- pEntry->key = key;
+ pEntry->key = (char *)key;
pEntry->data = NULL;
return pEntry;
}