diff options
Diffstat (limited to 'src/support/huffman.c')
-rw-r--r-- | src/support/huffman.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/support/huffman.c b/src/support/huffman.c index afc785b39a9..17342c53ced 100644 --- a/src/support/huffman.c +++ b/src/support/huffman.c @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2014-2016 MongoDB, Inc. +/*- + * Copyright (c) 2014-2017 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * @@ -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); |