diff options
Diffstat (limited to 'src/hash.c')
-rw-r--r-- | src/hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash.c b/src/hash.c index ddac9c048..0ac54196c 100644 --- a/src/hash.c +++ b/src/hash.c @@ -12,7 +12,7 @@ ** This is the implementation of generic hash-tables ** used in SQLite. ** -** $Id: hash.c,v 1.7 2002/02/23 23:45:45 drh Exp $ +** $Id: hash.c,v 1.8 2002/05/21 23:44:30 drh Exp $ */ #include "sqliteInt.h" #include <assert.h> @@ -320,7 +320,7 @@ void *sqliteHashInsert(Hash *pH, const void *pKey, int nKey, void *data){ } memcpy((void*)new_elem->pKey, pKey, nKey); }else{ - new_elem->pKey = (const void*)pKey; + new_elem->pKey = (void*)pKey; } new_elem->nKey = nKey; pH->count++; |