aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzy.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-12-20 19:11:49 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-12-20 19:11:49 +0300
commit3d7650fc497c779e7ca0abc78310250d057f0301 (patch)
treeb8abe0afe4c751729fec4996b1e9db9b4f1bd0e4 /src/fuzzy.c
parentea1da6a43cf4f6bfcc23722a05baaae203a00db4 (diff)
downloadrspamd-3d7650fc497c779e7ca0abc78310250d057f0301.tar.gz
rspamd-3d7650fc497c779e7ca0abc78310250d057f0301.zip
More cleanups and fixes for compiler warnings.0.4.6
Diffstat (limited to 'src/fuzzy.c')
-rw-r--r--src/fuzzy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fuzzy.c b/src/fuzzy.c
index 3901375ca..b14c2a9f9 100644
--- a/src/fuzzy.c
+++ b/src/fuzzy.c
@@ -306,7 +306,7 @@ fuzzy_init_byte_array (GByteArray * in, memory_pool_t * pool)
{
f_str_t f;
- f.begin = in->data;
+ f.begin = (gchar *)in->data;
f.len = in->len;
return fuzzy_init (&f, pool);
@@ -328,7 +328,7 @@ fuzzy_init_part (struct mime_text_part *part, memory_pool_t *pool, gsize max_dif
cur_ex = cur_offset->data;
}
- begin = part->content->data;
+ begin = (gchar *)part->content->data;
c = begin;
new = memory_pool_alloc0 (pool, sizeof (fuzzy_hash_t));
new2 = memory_pool_alloc0 (pool, sizeof (fuzzy_hash_t));
@@ -388,7 +388,7 @@ fuzzy_init_part (struct mime_text_part *part, memory_pool_t *pool, gsize max_dif
cur_ex = cur_offset->data;
}
- begin = part->content->data;
+ begin = (gchar *)part->content->data;
c = begin;
end = c + len;
if (part->is_utf) {