[Opensrf-commits] r1777 - trunk/src/libopensrf (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Sep 12 13:47:41 EDT 2009


Author: scottmk
Date: 2009-09-12 13:47:37 -0400 (Sat, 12 Sep 2009)
New Revision: 1777

Modified:
   trunk/src/libopensrf/osrf_big_hash.c
Log:
In osrfBigHashFree: added a const qualifier to key,
and removed a pointless cast.


Modified: trunk/src/libopensrf/osrf_big_hash.c
===================================================================
--- trunk/src/libopensrf/osrf_big_hash.c	2009-09-12 16:47:12 UTC (rev 1776)
+++ trunk/src/libopensrf/osrf_big_hash.c	2009-09-12 17:47:37 UTC (rev 1777)
@@ -114,7 +114,7 @@
 	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 );
 	}
 



More information about the opensrf-commits mailing list