diff options
Diffstat (limited to 'perl/Rspamd/Message.xs')
-rw-r--r-- | perl/Rspamd/Message.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Rspamd/Message.xs b/perl/Rspamd/Message.xs index e8f0571bc..c9a21886e 100644 --- a/perl/Rspamd/Message.xs +++ b/perl/Rspamd/Message.xs @@ -65,7 +65,7 @@ rspamd_message_get_recipients(message, type) CODE: retav = newAV(); #ifndef GMIME24 - rcpt = g_mime_message_get_recipients (message, type); + rcpt = (InternetAddressList *)g_mime_message_get_recipients (message, type); while (rcpt) { SV * address = newSViv(0); sv_setref_pv(address, "Mail::Rspamd::InternetAddress", (Mail__Rspamd__InternetAddress)(rcpt->address)); |