Soft'N'Design Software
/
projects
/
compress.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix segfault
[compress.git]
/
compress.c
diff --git
a/compress.c
b/compress.c
index bd343842da026aae79be2baa0e68368931d4f090..f92393a47102e56e227cdfd9b2d6a86a4c9c3f5c 100644
(file)
--- a/
compress.c
+++ b/
compress.c
@@
-94,7
+94,7
@@
void print_occ_table (int *table)
leaf_t **init_forest (int *table)
{
- static leaf_t *leafs[NB_BYTES] = {0};
+ static leaf_t *leafs[NB_BYTES
+ 1
] = {0};
int nb_leafs = 0;
int i, l;