diff options
Diffstat (limited to 'C/HuffEnc.c')
-rw-r--r-- | C/HuffEnc.c | 4 |
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 |
2 | 2023-03-04 : Igor Pavlov : Public domain */ | 2 | 2023-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 | ||