summaryrefslogtreecommitdiffstats
path: root/src/libserver/logger/logger_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/logger/logger_private.h')
-rw-r--r--src/libserver/logger/logger_private.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libserver/logger/logger_private.h b/src/libserver/logger/logger_private.h
index 234a207e5..d155bdcb0 100644
--- a/src/libserver/logger/logger_private.h
+++ b/src/libserver/logger/logger_private.h
@@ -48,10 +48,10 @@ struct rspamd_logger_error_elt {
struct rspamd_logger_error_log {
struct rspamd_logger_error_elt *elts;
rspamd_mempool_t *pool;
- guint32 max_elts;
- guint32 elt_len;
+ uint32_t max_elts;
+ uint32_t elt_len;
/* Avoid false cache sharing */
- guchar __padding[64 - sizeof(gpointer) * 2 - sizeof(guint64)];
+ guchar __padding[64 - sizeof(gpointer) * 2 - sizeof(uint64_t)];
guint cur_row;
};
@@ -78,7 +78,7 @@ struct rspamd_logger_s {
struct rspamd_radix_map_helper *debug_ip;
rspamd_mempool_mutex_t *mtx;
rspamd_mempool_t *pool;
- guint64 log_cnt[4];
+ uint64_t log_cnt[4];
};
/*