You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/08/12 12:30:36 UTC
svn commit: r803433 -
/commons/sandbox/runtime/trunk/src/main/native/shared/getopt.c
Author: mturk
Date: Wed Aug 12 10:30:35 2009
New Revision: 803433
URL: http://svn.apache.org/viewvc?rev=803433&view=rev
Log:
Shutup MSVC warning abount const free
Modified:
commons/sandbox/runtime/trunk/src/main/native/shared/getopt.c
Modified: commons/sandbox/runtime/trunk/src/main/native/shared/getopt.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/shared/getopt.c?rev=803433&r1=803432&r2=803433&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/shared/getopt.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/shared/getopt.c Wed Aug 12 10:30:35 2009
@@ -530,7 +530,7 @@
ACR_GetoptFree(acr_getopt_t *os)
{
if (os) {
- free(os->argv);
+ free((void *)os->argv);
free(os);
}
}