summaryrefslogtreecommitdiff
path: root/lib/zstd/huf_compress.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zstd/huf_compress.c')
-rw-r--r--lib/zstd/huf_compress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zstd/huf_compress.c b/lib/zstd/huf_compress.c
index e727812d12aa..22031247ff9f 100644
--- a/lib/zstd/huf_compress.c
+++ b/lib/zstd/huf_compress.c
@@ -382,8 +382,8 @@ static U32 HUF_setMaxHeight(nodeElt *huffNode, U32 lastNonNull, U32 maxNbBits)
}
typedef struct {
- U32 base;
- U32 curr;
+ U16 base;
+ U16 curr;
} rankPos;
static void HUF_sort(nodeElt *huffNode, const U32 *count, U32 maxSymbolValue)