gd/gd-2.0.34-warn.patch

12 lines
297 B
Diff

--- gdkanji.c
+++ gdkanji.c
@@ -392,7 +392,7 @@
from_len = strlen ((const char *)from) + 1;
to_len = BUFSIZ;
- if ((int) (iconv (cd, (char **)from_p, &from_len, (char **)to_p, &to_len))
+ if ((int) (iconv (cd, from_p, &from_len, to_p, &to_len))
== -1)
{
#ifdef HAVE_ERRNO_H