8152352: Compiling warnings in zip_util.c blocks devkit to build with --with-zlib=system
Reviewed-by: naoto
--- a/jdk/src/java.base/share/native/libzip/zip_util.c Mon Mar 21 21:58:50 2016 +0300
+++ b/jdk/src/java.base/share/native/libzip/zip_util.c Mon Mar 21 15:59:27 2016 -0700
@@ -1408,7 +1408,7 @@
case Z_OK:
break;
case Z_STREAM_END:
- if (count != 0 || strm.total_out != entry->size) {
+ if (count != 0 || strm.total_out != (uInt)entry->size) {
*msg = "inflateFully: Unexpected end of stream";
inflateEnd(&strm);
return JNI_FALSE;
@@ -1528,7 +1528,7 @@
case Z_OK:
break;
case Z_STREAM_END:
- if (strm.total_out != outLen) {
+ if (strm.total_out != (uInt)outLen) {
*pmsg = "INFLATER_inflateFully: Unexpected end of stream";
inflateEnd(&strm);
return JNI_FALSE;