From 8062bce835681d8200666ad183fe8cf3f6d87468 Mon Sep 17 00:00:00 2001 From: Arnavion Date: Thu, 4 Dec 2014 04:06:38 -0800 Subject: Fix some obvious type warnings. --- plugins/perl/perl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/perl/perl.c') diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c index 74333516..240e74d1 100644 --- a/plugins/perl/perl.c +++ b/plugins/perl/perl.c @@ -753,7 +753,7 @@ XS (XS_HexChat_send_modes) } if (target_count == 0) { - free (targets); + free ((char**) targets); XSRETURN_EMPTY; } @@ -765,7 +765,7 @@ XS (XS_HexChat_send_modes) } hexchat_send_modes (ph, targets, target_count, modes_per_line, sign, mode); - free (targets); + free ((char**) targets); } } static -- cgit 1.4.1