changeset 32149:0261b706dddf

Remove bogus cast from configure check; fixes the warning: tmp.c:21: warning: passing argument 2 of 'iconv' from incompatible pointer type
author diego
date Tue, 14 Sep 2010 10:11:46 +0000
parents 9e345136c335
children 068e6ec38400
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
       }