summaryrefslogtreecommitdiffstats
path: root/src/expressions.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-05-31 19:54:14 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-05-31 19:54:14 +0400
commit81ddc93c2ba49fbcad33e6e07f029d42255fe023 (patch)
tree0c3443a851000a9c90e0376293db48f91722f98f /src/expressions.c
parentab222b29d811745683c55f3c743870526f2da432 (diff)
downloadrspamd-81ddc93c2ba49fbcad33e6e07f029d42255fe023.tar.gz
rspamd-81ddc93c2ba49fbcad33e6e07f029d42255fe023.zip
* Remove some warnings
Diffstat (limited to 'src/expressions.c')
-rw-r--r--src/expressions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/expressions.c b/src/expressions.c
index 5f5213dd3..f19e67670 100644
--- a/src/expressions.c
+++ b/src/expressions.c
@@ -1078,7 +1078,7 @@ rspamd_content_type_is_subtype (struct worker_task *task, GList * args, void *un
param_pattern = arg->data;
part = g_mime_message_get_mime_part (task->message);
if (part) {
- ct = g_mime_object_get_content_type (part);
+ ct = (GMimeContentType *)g_mime_object_get_content_type (part);
#ifndef GMIME24
g_object_unref (part);
#endif
@@ -1139,7 +1139,7 @@ rspamd_content_type_is_type (struct worker_task * task, GList * args, void *unus
part = g_mime_message_get_mime_part (task->message);
if (part) {
- ct = g_mime_object_get_content_type (part);
+ ct = (GMimeContentType *)g_mime_object_get_content_type (part);
#ifndef GMIME24
g_object_unref (part);
#endif
@@ -1324,7 +1324,7 @@ is_recipient_list_sorted (const InternetAddressList * ia)
addr = internet_address_list_get_address (cur);
current.addr = internet_address_get_addr (addr);
if (previous.addr != NULL) {
- if (current_addr && g_ascii_strcasecmp (current.addr, previous.addr) < 0) {
+ if (current.addr && g_ascii_strcasecmp (current.addr, previous.addr) < 0) {
res = FALSE;
break;
}