aboutsummaryrefslogtreecommitdiff
path: root/C/HuffEnc.c
diff options
context:
space:
mode:
authorIgor Pavlov <87184205+ip7z@users.noreply.github.com>2024-05-14 00:00:00 +0000
committerIgor Pavlov <87184205+ip7z@users.noreply.github.com>2024-05-15 23:55:04 +0500
commitfc662341e6f85da78ada0e443f6116b978f79f22 (patch)
tree1be1cc402a7a9cbc18d4eeea6b141354c2d559e3 /C/HuffEnc.c
parent5b39dc76f1bc82f941d5c800ab9f34407a06b53a (diff)
download7zip-24.05.tar.gz
7zip-24.05.tar.bz2
7zip-24.05.zip
24.0524.05
Diffstat (limited to 'C/HuffEnc.c')
-rw-r--r--C/HuffEnc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/C/HuffEnc.c b/C/HuffEnc.c
index 3dc1e39..996da30 100644
--- a/C/HuffEnc.c
+++ b/C/HuffEnc.c
@@ -1,5 +1,5 @@
1/* HuffEnc.c -- functions for Huffman encoding 1/* HuffEnc.c -- functions for Huffman encoding
22023-03-04 : Igor Pavlov : Public domain */ 22023-09-07 : Igor Pavlov : Public domain */
3 3
4#include "Precomp.h" 4#include "Precomp.h"
5 5
@@ -8,7 +8,7 @@
8 8
9#define kMaxLen 16 9#define kMaxLen 16
10#define NUM_BITS 10 10#define NUM_BITS 10
11#define MASK (((unsigned)1 << NUM_BITS) - 1) 11#define MASK ((1u << NUM_BITS) - 1)
12 12
13#define NUM_COUNTERS 64 13#define NUM_COUNTERS 64
14 14