Fixed compilation errors in some compilers

This commit is contained in:
Trustin Lee 2010-10-19 06:11:34 +00:00
parent 4399c1e90b
commit 35a2326e82

View File

@ -78,7 +78,7 @@ public final class ZStream {
return inflateInit(w, WrapperType.ZLIB);
}
public int inflateInit(int w, Enum<?> wrapperType) {
public int inflateInit(int w, @SuppressWarnings("rawtypes") Enum wrapperType) {
istate = new Inflate();
return istate.inflateInit(this, w, (WrapperType) wrapperType);
}
@ -125,7 +125,7 @@ public final class ZStream {
return deflateInit(level, bits, WrapperType.ZLIB);
}
public int deflateInit(int level, int bits, Enum<?> wrapperType) {
public int deflateInit(int level, int bits, @SuppressWarnings("rawtypes") Enum wrapperType) {
dstate = new Deflate();
return dstate.deflateInit(this, level, bits, (WrapperType) wrapperType);
}