summaryrefslogtreecommitdiffstats
path: root/src/bloom.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-08-04 20:31:24 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-08-04 20:31:24 +0400
commit3f96e6a7a317e70b85b32de4aa06681c11d79006 (patch)
tree70343e3fb1a43d29d9c4f454fa47b2dcad6249ad /src/bloom.c
parent6b86782ce21caad081d41f54ef10233a8e757189 (diff)
downloadrspamd-3f96e6a7a317e70b85b32de4aa06681c11d79006.tar.gz
rspamd-3f96e6a7a317e70b85b32de4aa06681c11d79006.zip
Fix signness in arithmetic operations.
Diffstat (limited to 'src/bloom.c')
-rw-r--r--src/bloom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bloom.c b/src/bloom.c
index 483d596d7..6488976f6 100644
--- a/src/bloom.c
+++ b/src/bloom.c
@@ -164,7 +164,7 @@ bloom_create (size_t size, size_t nfuncs, ...)
{
bloom_filter_t *bloom;
va_list l;
- gint n;
+ gsize n;
if (!(bloom = g_malloc (sizeof (bloom_filter_t)))) {
return NULL;