apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r892390 - /apr/apr/trunk/misc/win32/internal.c
Date Fri, 18 Dec 2009 22:37:00 GMT
Author: wrowe
Date: Fri Dec 18 22:37:00 2009
New Revision: 892390

URL: http://svn.apache.org/viewvc?rev=892390&view=rev
Log:
gcc has this one wrong, it's never necessary to cast to
introduce constness where none was required before.

But the fix is harmless.

Modified:
    apr/apr/trunk/misc/win32/internal.c

Modified: apr/apr/trunk/misc/win32/internal.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/misc/win32/internal.c?rev=892390&r1=892389&r2=892390&view=diff
==============================================================================
--- apr/apr/trunk/misc/win32/internal.c (original)
+++ apr/apr/trunk/misc/win32/internal.c Fri Dec 18 22:37:00 2009
@@ -96,6 +96,6 @@
         }
     }
 
-    *retarr = newarr;
+    *retarr = (char const * const *)newarr;
     return args;
 }



Mime
View raw message