diff options
Diffstat (limited to 'src/support/huffman.c')
-rw-r--r-- | src/support/huffman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/huffman.c b/src/support/huffman.c index 83d1e790ce7..17342c53ced 100644 --- a/src/support/huffman.c +++ b/src/support/huffman.c @@ -483,7 +483,7 @@ __wt_huffman_open(WT_SESSION_IMPL *session, set_codes(node, huffman->codes, 0, 0); WT_ERR(__wt_calloc_def( - session, 1U << huffman->max_depth, &huffman->code2symbol)); + session, (size_t)1U << huffman->max_depth, &huffman->code2symbol)); make_table(session, huffman->code2symbol, huffman->max_depth, huffman->codes, huffman->numSymbols); |