From: uz Date: Sun, 14 Aug 2011 19:21:44 +0000 (+0000) Subject: Make the parameter for HT_GetKey const. X-Git-Tag: V2.13.3~301 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e67c802193358f44f44429f5a378c650049522de;p=cc65 Make the parameter for HT_GetKey const. git-svn-id: svn://svn.cc65.org/cc65/trunk@5161 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/common/hashtab.h b/src/common/hashtab.h index f8a2466c3..329e11faf 100644 --- a/src/common/hashtab.h +++ b/src/common/hashtab.h @@ -70,7 +70,7 @@ struct HashFunctions { unsigned (*GenHash) (const void* Key); /* Generate the hash over a key. */ - const void* (*GetKey) (void* Entry); + const void* (*GetKey) (const void* Entry); /* Given a pointer to the user entry data, return a pointer to the key */ int (*Compare) (const void* Key1, const void* Key2);