summaryrefslogtreecommitdiff
path: root/libs/zlib/src/zutil.c
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2017-05-15 20:43:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-05-15 21:00:34 +0300
commitcea8ae30236ffae064576720537c1952de21450e (patch)
tree8dfbcdf4133a653534f162041dd6d4789f783b73 /libs/zlib/src/zutil.c
parent738ea8d4ababc946b4cd4609f962108bfedc1e79 (diff)
zlib: merge Miranda-specific fixes
Diffstat (limited to 'libs/zlib/src/zutil.c')
-rw-r--r--libs/zlib/src/zutil.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/zlib/src/zutil.c b/libs/zlib/src/zutil.c
index a76c6b0c7e..35ac5d8549 100644
--- a/libs/zlib/src/zutil.c
+++ b/libs/zlib/src/zutil.c
@@ -34,25 +34,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;