diff options
Diffstat (limited to 'custom_mutators/gramatron/hashmap.c')
-rw-r--r-- | custom_mutators/gramatron/hashmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/custom_mutators/gramatron/hashmap.c b/custom_mutators/gramatron/hashmap.c index 4f97e085..db4f9f98 100644 --- a/custom_mutators/gramatron/hashmap.c +++ b/custom_mutators/gramatron/hashmap.c @@ -171,6 +171,7 @@ unsigned long custom_crc32(const unsigned char *s, unsigned int len) { * Hashing function for a string */ unsigned int hashmap_hash_int(hashmap_map *m, char *keystring) { + unsigned int keystring_len = strlen(keystring); unsigned long key = custom_crc32((unsigned char *)(keystring), keystring_len); |