summaryrefslogtreecommitdiffstats
path: root/wsutil/wmem/wmem_map.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
commitc4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch)
tree93d5c6aa93d9987680dd1adad5685e2ad698f223 /wsutil/wmem/wmem_map.h
parentAdding upstream version 4.2.6. (diff)
downloadwireshark-upstream.tar.xz
wireshark-upstream.zip
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wsutil/wmem/wmem_map.h')
-rw-r--r--wsutil/wmem/wmem_map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/wsutil/wmem/wmem_map.h b/wsutil/wmem/wmem_map.h
index cb296fb4..6105aee9 100644
--- a/wsutil/wmem/wmem_map.h
+++ b/wsutil/wmem/wmem_map.h
@@ -207,21 +207,21 @@ wmem_strong_hash(const uint8_t *buf, const size_t len);
*/
WS_DLL_PUBLIC
unsigned
-wmem_str_hash(gconstpointer key);
+wmem_str_hash(const void *key);
/** An implementation of GHashFunc using wmem_strong_hash. Prefer this over
* g_int64_hash when the data comes from an untrusted source.
*/
WS_DLL_PUBLIC
unsigned
-wmem_int64_hash(gconstpointer key);
+wmem_int64_hash(const void *key);
/** An implementation of GHashFunc using wmem_strong_hash. Prefer this over
* g_double_hash when the data comes from an untrusted source.
*/
WS_DLL_PUBLIC
unsigned
-wmem_double_hash(gconstpointer key);
+wmem_double_hash(const void *key);
/** @}
* @} */