summaryrefslogtreecommitdiffstats
path: root/src/libutil/regexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/regexp.h')
-rw-r--r--src/libutil/regexp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libutil/regexp.h b/src/libutil/regexp.h
index 6222ba69a..5be9046be 100644
--- a/src/libutil/regexp.h
+++ b/src/libutil/regexp.h
@@ -27,7 +27,7 @@
#define PCRE_FLAG(x) G_PASTE(PCRE2_, x)
#endif
-#define RSPAMD_INVALID_ID ((guint64) -1LL)
+#define RSPAMD_INVALID_ID ((uint64_t) -1LL)
#define RSPAMD_REGEXP_FLAG_RAW (1 << 1)
#define RSPAMD_REGEXP_FLAG_NOOPT (1 << 2)
#define RSPAMD_REGEXP_FLAG_FULL_MATCH (1 << 3)
@@ -164,12 +164,12 @@ guint rspamd_regexp_set_maxhits(rspamd_regexp_t *re, guint new_maxhits);
/**
* Returns cache id for a regexp
*/
-guint64 rspamd_regexp_get_cache_id(const rspamd_regexp_t *re);
+uint64_t rspamd_regexp_get_cache_id(const rspamd_regexp_t *re);
/**
* Sets cache id for a regexp
*/
-guint64 rspamd_regexp_set_cache_id(rspamd_regexp_t *re, guint64 id);
+uint64_t rspamd_regexp_set_cache_id(rspamd_regexp_t *re, uint64_t id);
/**
* Returns match limit for a regexp
@@ -241,7 +241,7 @@ void rspamd_regexp_cache_destroy(struct rspamd_regexp_cache *cache);
* @param a
* @return
*/
-guint32 rspamd_regexp_hash(gconstpointer a);
+uint32_t rspamd_regexp_hash(gconstpointer a);
/**
* Compare two regexp objects based on theirs ID