summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@mongodb.com>2016-07-10 22:32:20 -0400
committerAlex Gorrod <alexander.gorrod@mongodb.com>2016-07-11 12:32:20 +1000
commite37a36ab793e357e1fee5df79ddca35d27a6c4a1 (patch)
tree8eb939cc0bf8bf01c4e30e2816047fe28d06314f /ext
parentc8dd8777584cd939e49db200f85ca451d3dfb463 (diff)
downloadmongo-e37a36ab793e357e1fee5df79ddca35d27a6c4a1.tar.gz
WT-2755 flexelint configuration treats size_t as 4B type (#2858)
KNF, remove space after "sizeof" keyword. Info 790: Suspicious truncation, integral to float strlen returns a size_t, cast before comparing against a wt_off_t. size_t is 8B, more size_t cleanups.
Diffstat (limited to 'ext')
-rw-r--r--ext/compressors/zlib/zlib_compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/compressors/zlib/zlib_compress.c b/ext/compressors/zlib/zlib_compress.c
index 9aede2ed907..484df0a6785 100644
--- a/ext/compressors/zlib/zlib_compress.c
+++ b/ext/compressors/zlib/zlib_compress.c
@@ -92,7 +92,7 @@ zalloc(void *cookie, uint32_t number, uint32_t size)
opaque = cookie;
wt_api = ((ZLIB_COMPRESSOR *)opaque->compressor)->wt_api;
return (wt_api->scr_alloc(
- wt_api, opaque->session, (size_t)(number * size)));
+ wt_api, opaque->session, (size_t)number * size));
}
/*