File: diff_libmaa_hash2.c

package info (click to toggle)
dict-gcide 0.44-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 59,496 kB
  • ctags: 2,052
  • sloc: asm: 53,717; fortran: 20,888; ansic: 8,030; sh: 1,441; lex: 1,342; makefile: 494; yacc: 443; perl: 235
file content (11 lines) | stat: -rw-r--r-- 409 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
--- hash.c.orig Fri May 14 23:52:22 1999
+++ hash.c      Sat May 15 02:31:55 1999
@@ -536,7 +536,7 @@
       err_internal( __FUNCTION__,
                    "String-valued keys may not be NULL: key1=%p, key2=%p\n",
                    key1, key2 );
-   return strcmp( key1, key2 );
+   return strcmp( (const char*)key1, (const char*)key2 );
 }
 
 int hsh_pointer_compare( const void *key1, const void *key2 )