const missing on HASHsearch made the compilation fail

This commit is contained in:
rbertucat authored and Mark Pictor committed 2011-09-15 16:19:38 -04:00
1 parent ecd400c7d3
commit defe0dd2b7
1 file changed
+1 -1
+1 -1
View File
@@ -239,7 +239,7 @@ HASHdestroy( Hash_TableP table ) {
}
struct Element *
HASHsearch( Hash_TableP table, struct Element * item, Action action ) {
HASHsearch( Hash_TableP table, const struct Element * item, Action action ) {
Address h;
struct Element ** CurrentSegment;
int SegmentIndex;