From e67c802193358f44f44429f5a378c650049522de Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 14 Aug 2011 19:21:44 +0000 Subject: [PATCH] Make the parameter for HT_GetKey const. git-svn-id: svn://svn.cc65.org/cc65/trunk@5161 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/common/hashtab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5