summary refs log tree commit diff stats
path: root/plugins/perl/perl.c
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2014-12-04 04:06:38 -0800
committerArnavion <arnavion@gmail.com>2014-12-04 04:06:38 -0800
commit8062bce835681d8200666ad183fe8cf3f6d87468 (patch)
treee81450df3b1b71d763695c9832edb3ffca265255 /plugins/perl/perl.c
parent3fbe5b876e3af3fde135eb42bcd3050b41865d1a (diff)
Fix some obvious type warnings.
Diffstat (limited to 'plugins/perl/perl.c')
-rw-r--r--plugins/perl/perl.c4
1 files changed, 2 insertions, 2 deletions
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