diff options
Diffstat (limited to 'plugins/Zlib/src/zutil.c')
-rw-r--r-- | plugins/Zlib/src/zutil.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Zlib/src/zutil.c b/plugins/Zlib/src/zutil.c index 23d2ebef00..f0fef231f2 100644 --- a/plugins/Zlib/src/zutil.c +++ b/plugins/Zlib/src/zutil.c @@ -37,25 +37,25 @@ uLong ZEXPORT zlibCompileFlags() uLong flags; flags = 0; - switch ((int)(sizeof(uInt))) { + switch (sizeof(uInt)) { case 2: break; case 4: flags += 1; break; case 8: flags += 2; break; default: flags += 3; } - switch ((int)(sizeof(uLong))) { + switch (sizeof(uLong)) { case 2: break; case 4: flags += 1 << 2; break; case 8: flags += 2 << 2; break; default: flags += 3 << 2; } - switch ((int)(sizeof(voidpf))) { + switch (sizeof(voidpf)) { case 2: break; case 4: flags += 1 << 4; break; case 8: flags += 2 << 4; break; default: flags += 3 << 4; } - switch ((int)(sizeof(z_off_t))) { + switch (sizeof(z_off_t)) { case 2: break; case 4: flags += 1 << 6; break; case 8: flags += 2 << 6; break; |