--- lib/charset.c.orig 2017-08-17 19:29:14.000000000 -0500 +++ lib/charset.c 2017-09-14 18:27:25.000000000 -0500 @@ -767,7 +767,7 @@ struct convert_rock *input, *tobuffer; char *res; - if (!s) return 0; + if (!s) return (char *) 0; if (charset < 0 || charset >= chartables_num_charsets) return xstrdup("X");