--- old/src/java.base/share/native/libzip/zip_util.c 2016-03-21 13:59:16.529798607 -0700 +++ new/src/java.base/share/native/libzip/zip_util.c 2016-03-21 13:59:16.266799693 -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;