OSDN Git Service

refectoring for ar.c
[lha/olha.git] / huf.c
diff --git a/huf.c b/huf.c
index d8c9eb7..857b1b7 100644 (file)
--- a/huf.c
+++ b/huf.c
@@ -4,7 +4,7 @@
 #include <stdlib.h>
 #include "ar.h"
 
-#define NP (DICBIT + 1)
+#define NP (MAXDICBIT + 1)
 #define NT (CODE_BIT + 3)
 #define PBIT 4                  /* smallest integer such that (1U << PBIT) > NP */
 #define TBIT 5                  /* smallest integer such that (1U << TBIT) > NT */