[MPlayer-cvslog] r32233 - trunk/configure

diego subversion at mplayerhq.hu
Tue Sep 14 12:11:47 CEST 2010


Author: diego
Date: Tue Sep 14 12:11:46 2010
New Revision: 32233

Log:
Remove bogus cast from configure check; fixes the warning:
tmp.c:21: warning: passing argument 2 of 'iconv' from incompatible pointer type

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue Sep 14 12:05:46 2010	(r32232)
+++ trunk/configure	Tue Sep 14 12:11:46 2010	(r32233)
@@ -3692,7 +3692,7 @@ int main(void) {
       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);
       }


More information about the MPlayer-cvslog mailing list