harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r830149 - /harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c
Date Tue, 27 Oct 2009 12:35:55 GMT
Author: hindessm
Date: Tue Oct 27 12:35:54 2009
New Revision: 830149

URL: http://svn.apache.org/viewvc?rev=830149&view=rev
Log:
Cast to fix signedness of parameter to avoid compiler warnings.

Modified:
    harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c

Modified: harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c?rev=830149&r1=830148&r2=830149&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c
Tue Oct 27 12:35:54 2009
@@ -210,7 +210,7 @@
 #ifndef HY_ZIP_API
 	retval = zip_getZipEntryData(privatePortLibrary, &zipFile, &zipEntry, (unsigned
char*)result, size);
 #else /* HY_ZIP_API */
-	retval = zipFuncs->zip_getZipEntryData(VMI, &zipFile, &zipEntry, result, size);
+	retval = zipFuncs->zip_getZipEntryData(VMI, &zipFile, &zipEntry, (unsigned char*)result,
size);
 #endif /* HY_ZIP_API */
 	if(retval){
 #ifndef HY_ZIP_API



Mime
View raw message