Signed-off-by: Tomek Grabiec <[email protected]>
---
include/lib/hash-map.h | 2 +-
lib/hash-map.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/lib/hash-map.h b/include/lib/hash-map.h
index e3701ef..bb5d399 100644
--- a/include/lib/hash-map.h
+++ b/include/lib/hash-map.h
@@ -24,7 +24,7 @@ struct hash_map *alloc_hash_map(unsigned long size, hash_fn
*hash, compare_fn *c
void free_hash_map(struct hash_map *map);
int hash_map_put(struct hash_map *map, const void *key, void *value);
int hash_map_get(struct hash_map *map, const void *key, void **value_p);
-int hash_map_remove(struct hash_map *map, void *key);
+int hash_map_remove(struct hash_map *map, const void *key);
hash_fn string_hash;
compare_fn string_compare;
diff --git a/lib/hash-map.c b/lib/hash-map.c
index 4955a1f..a50fcd6 100644
--- a/lib/hash-map.c
+++ b/lib/hash-map.c
@@ -111,7 +111,7 @@ int hash_map_get(struct hash_map *map, const void *key,
void **value_p)
return 0;
}
-int hash_map_remove(struct hash_map *map, void *key)
+int hash_map_remove(struct hash_map *map, const void *key)
{
struct hash_map_entry *ent;
--
1.6.0.6
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel