apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roo...@apache.org
Subject svn commit: r358652 - in /apr/apr-iconv/trunk: CHANGES lib/iconv_ces_euc.c
Date Thu, 22 Dec 2005 23:02:46 GMT
Author: rooneg
Date: Thu Dec 22 15:02:45 2005
New Revision: 358652

URL: http://svn.apache.org/viewcvs?rev=358652&view=rev
Log:
Fix build on GCC 4.0 by removing a useless cast.  This fixes issue #37650.

Submitted By: William Barker <william.barker wilshire.com>
Reviewed By: carnold, rooneg

* lib/iconv_ces_euc.c
  (apr_iconv_euc_open): Remove cast since newer versions of GCC complain
   about it.

* CHANGES: Note change.

Modified:
    apr/apr-iconv/trunk/CHANGES
    apr/apr-iconv/trunk/lib/iconv_ces_euc.c

Modified: apr/apr-iconv/trunk/CHANGES
URL: http://svn.apache.org/viewcvs/apr/apr-iconv/trunk/CHANGES?rev=358652&r1=358651&r2=358652&view=diff
==============================================================================
--- apr/apr-iconv/trunk/CHANGES (original)
+++ apr/apr-iconv/trunk/CHANGES Thu Dec 22 15:02:45 2005
@@ -1,6 +1,7 @@
 Changes with APR-ICONV 1.2.0-dev
 
-
+  *) Fix build on GCC 4.0
+     [William Barker <william.barker wilshire.com>]
 
 Changes with APR-ICONV 1.1.0
 

Modified: apr/apr-iconv/trunk/lib/iconv_ces_euc.c
URL: http://svn.apache.org/viewcvs/apr/apr-iconv/trunk/lib/iconv_ces_euc.c?rev=358652&r1=358651&r2=358652&view=diff
==============================================================================
--- apr/apr-iconv/trunk/lib/iconv_ces_euc.c (original)
+++ apr/apr-iconv/trunk/lib/iconv_ces_euc.c Thu Dec 22 15:02:45 2005
@@ -62,7 +62,7 @@
 	state->nccs = ces->mod->im_depcnt;
 	for (i = ces->mod->im_depcnt; i; i--, depmod = depmod->im_next)
 		state->ccs[i - 1] = depmod;
-	CESTOSTATE(ces) = state;
+	ces->data = state;
 	return APR_SUCCESS;
 }
 



Mime
View raw message