Patch to get rid of some compiler warnings in gconvert.c Index:rox-1.2.0-gconvert/ROX-Filer/src/gconvert.c *** rox-1.2.0/ROX-Filer/src/gconvert.c Tue Feb 12 12:40:46 2002 --- rox-1.2.0-gconvert/ROX-Filer/src/gconvert.c Tue Feb 19 11:49:55 2002 *************** *** 71,77 **** if (cd == (iconv_t) -1) { *a = "iso-8859-1"; ! cd = (GIConv) iconv_open (*a, "UTF-8"); } if (cd == (iconv_t) -1) *a = "UTF-8"; --- 71,77 ---- if (cd == (iconv_t) -1) { *a = "iso-8859-1"; ! cd = (iconv_t) iconv_open (*a, "UTF-8"); } if (cd == (iconv_t) -1) *a = "UTF-8"; *************** *** 116,122 **** { iconv_t cd = (iconv_t)converter; ! return iconv (cd, inbuf, inbytes_left, outbuf, outbytes_left); } gint --- 116,122 ---- { iconv_t cd = (iconv_t)converter; ! return iconv (cd, (const char **) inbuf, inbytes_left, outbuf, outbytes_left); } gint *************** *** 134,140 **** { GIConv cd = (GIConv) iconv_open (to_codeset, from_codeset); ! if (cd == (iconv_t) -1) { /* Something went wrong. */ if (errno == EINVAL) --- 134,140 ---- { GIConv cd = (GIConv) iconv_open (to_codeset, from_codeset); ! if (cd == (GIConv) -1) { /* Something went wrong. */ if (errno == EINVAL)