elinks/elinks-0.12_pre5-compilation-fix.patch

14 lines
463 B
Diff

Index: elinks-0.12pre6/src/intl/charsets.c
===================================================================
--- elinks-0.12pre6.orig/src/intl/charsets.c 2012-10-28 13:57:15.000000000 +0100
+++ elinks-0.12pre6/src/intl/charsets.c 2016-04-26 10:16:15.984070911 +0200
@@ -819,7 +819,7 @@
/* Cast away const. */
for (i = 128; i < 256; i++)
- mem_free((unsigned char *) utf_table[i].u.str);
+ mem_free(utf_table[i].u.str);
}
static struct conv_table *