aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/str_util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-03-18 14:56:16 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-03-18 14:56:16 +0000
commit6b2b4167187fee09365271cca182866ecb029af3 (patch)
treea085717bc896b25ff4280eb86abecca0d5c36767 /src/libutil/str_util.h
parent47bcfc8360dfa1754474580e779314b8d6a78da6 (diff)
downloadrspamd-6b2b4167187fee09365271cca182866ecb029af3.tar.gz
rspamd-6b2b4167187fee09365271cca182866ecb029af3.zip
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
Diffstat (limited to 'src/libutil/str_util.h')
-rw-r--r--src/libutil/str_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h
index 07560cc2f..ff5827a0b 100644
--- a/src/libutil/str_util.h
+++ b/src/libutil/str_util.h
@@ -59,7 +59,7 @@ guint rspamd_str_lc_utf8(gchar *str, guint size);
/*
* Hash table utility functions for case insensitive hashing
*/
-guint64 rspamd_icase_hash(const gchar *in, gsize len, guint64 seed);
+uint64_t rspamd_icase_hash(const gchar *in, gsize len, uint64_t seed);
guint rspamd_strcase_hash(gconstpointer key);
@@ -140,7 +140,7 @@ gboolean rspamd_strtol(const gchar *s, gsize len, glong *value);
* Try to convert a string of length to unsigned long
*/
gboolean rspamd_strtoul(const gchar *s, gsize len, gulong *value);
-gboolean rspamd_strtou64(const gchar *s, gsize len, guint64 *value);
+gboolean rspamd_strtou64(const gchar *s, gsize len, uint64_t *value);
/*
* Try to convert a hex string of length to unsigned long