apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r638036 - /apr/apr-iconv/trunk/lib/iconv_uc.c
Date Mon, 17 Mar 2008 19:22:37 GMT
Author: wrowe
Date: Mon Mar 17 12:22:28 2008
New Revision: 638036

URL: http://svn.apache.org/viewvc?rev=638036&view=rev
Log:
Resolve ambiguous/nonsense post-increment.

Reported by: Sebastian Gottschalk <seppi seppig.de>

Modified:
    apr/apr-iconv/trunk/lib/iconv_uc.c

Modified: apr/apr-iconv/trunk/lib/iconv_uc.c
URL: http://svn.apache.org/viewvc/apr/apr-iconv/trunk/lib/iconv_uc.c?rev=638036&r1=638035&r2=638036&view=diff
==============================================================================
--- apr/apr-iconv/trunk/lib/iconv_uc.c (original)
+++ apr/apr-iconv/trunk/lib/iconv_uc.c Mon Mar 17 12:22:28 2008
@@ -111,7 +111,7 @@
 			size = ICONV_CES_CONVERT_FROM_UCS(ic->to, ic->missing,
 			    outbuf, outbytesleft);
 			if (size)
-				*res ++;
+				(*res)++;
 		}
 		if (!size) {		 /* No space to write to */
 			*inbytesleft += *inbuf - ptr;



Mime
View raw message