From 2a70c8a2199c837e2094b5bcbf316564ccd6d1df Mon Sep 17 00:00:00 2001 From: scottmk Date: Sat, 12 Sep 2009 17:47:37 +0000 Subject: [PATCH] In osrfBigHashFree: added a const qualifier to key, and removed a pointless cast. git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1777 9efc2488-bf62-4759-914b-345cdb29e865 --- src/libopensrf/osrf_big_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libopensrf/osrf_big_hash.c b/src/libopensrf/osrf_big_hash.c index 3e69f2f..47e78d5 100644 --- a/src/libopensrf/osrf_big_hash.c +++ b/src/libopensrf/osrf_big_hash.c @@ -114,7 +114,7 @@ void osrfBigHashFree( osrfBigHash* hash ) { osrfStringArray* keys = osrfBigHashKeys( hash ); for( i = 0; i != keys->size; i++ ) { - char* key = (char*) osrfStringArrayGetString( keys, i ); + const char* key = osrfStringArrayGetString( keys, i ); osrfBigHashRemove( hash, key ); } -- 2.11.0