irssi/irssi-0.8.9-gcc4.patch

13 lines
484 B
Diff
Raw Normal View History

diff -Nur irssi-0.8.9-orig/src/perl/ui/Formats.xs irssi-0.8.9/src/perl/ui/Formats.xs
--- irssi-0.8.9-orig/src/perl/ui/Formats.xs 2003-01-25 04:30:02.000000000 +0100
+++ irssi-0.8.9/src/perl/ui/Formats.xs 2005-04-11 23:18:40.000000000 +0200
@@ -3,7 +3,7 @@
static int magic_free_text_dest(pTHX_ SV *sv, MAGIC *mg)
{
TEXT_DEST_REC *dest = (TEXT_DEST_REC *) mg->mg_ptr;
- g_free((char *) dest->target);
+ g_free(dest->target);
g_free(dest);
mg->mg_ptr = NULL;
sv_setiv(sv, 0);