# HG changeset patch # User diego # Date 1284459106 0 # Node ID 0261b706dddffa0e3ee9b6f90d6ad0b58b3675f4 # Parent 9e345136c335a1c4ef53ef2835f40fc611891e10 Remove bogus cast from configure check; fixes the warning: tmp.c:21: warning: passing argument 2 of 'iconv' from incompatible pointer type diff -r 9e345136c335 -r 0261b706dddf configure --- a/configure Tue Sep 14 10:05:46 2010 +0000 +++ b/configure Tue Sep 14 10:11:46 2010 +0000 @@ -3692,7 +3692,7 @@ char *optr=outbuffer; size_t inleft=numread; size_t outleft=OUTBUFSIZE; - if (iconv(icdsc, (const char **)&iptr, &inleft, &optr, &outleft) + if (iconv(icdsc, &iptr, &inleft, &optr, &outleft) != (size_t)(-1)) { write(1, outbuffer, OUTBUFSIZE - outleft); }