harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dtan...@apache.org
Subject svn commit: r355119 - /incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/zip.c
Date Thu, 08 Dec 2005 15:16:05 GMT
Author: dtanzer
Date: Thu Dec  8 07:15:57 2005
New Revision: 355119

URL: http://svn.apache.org/viewcvs?rev=355119&view=rev
Log:
Added explicit casts of buf from char* to Bytef* to get rid of compiler
warnings about the signedness in _jc_zip_inflate(...).


Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/zip.c

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/zip.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/zip.c?rev=355119&r1=355118&r2=355119&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/zip.c (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/zip.c Thu Dec  8
07:15:57 2005
@@ -15,7 +15,7 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  *
- * $Id: zip.c,v 1.2 2004/07/05 21:03:28 archiecobbs Exp $
+ * $Id$
  */
 
 #include "libjc.h"
@@ -395,7 +395,7 @@
 		}
 
 		/* Decompress the chunk we just read */
-		zs.next_in = buf;
+		zs.next_in = (Bytef *) buf;
 		zs.avail_in = r;
 		flush = (i + r == zent->comp_len) ? Z_FINISH : Z_SYNC_FLUSH;
 		switch (inflate(&zs, flush)) {



Mime
View raw message