diff options
Diffstat (limited to 'src/fuzzy.c')
-rw-r--r-- | src/fuzzy.c | 6 |
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) { |