diff options
Diffstat (limited to 'perl/Rspamd/Object.xs')
-rw-r--r-- | perl/Rspamd/Object.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Rspamd/Object.xs b/perl/Rspamd/Object.xs index cf5fffb11..2f56fb995 100644 --- a/perl/Rspamd/Object.xs +++ b/perl/Rspamd/Object.xs @@ -15,7 +15,7 @@ rspamd_object_get_content_type (mime_object) char * textdata; GMimeContentType *ct; CODE: - ct = g_mime_object_get_content_type (mime_object); + ct = (GMimeContentType *)g_mime_object_get_content_type (mime_object); textdata = g_mime_content_type_to_string (ct); RETVAL = g_mime_content_type_new_from_string (textdata); plist = g_list_prepend (plist, RETVAL); |