File gd-2.0.36RC1-warn.patch of Package gd

--- 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