summaryrefslogtreecommitdiff
path: root/huffman.c
diff options
context:
space:
mode:
Diffstat (limited to 'huffman.c')
-rw-r--r--huffman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/huffman.c b/huffman.c
index cccb07b..57daa05 100644
--- a/huffman.c
+++ b/huffman.c
@@ -318,7 +318,7 @@ for(i=0;i<256;i++)
** was arbitrarily assigned led to an underflow error at runtime. We
** use that zeroed-out bits are in fact 0 as a float.
** Uwe F. Mayer */
-bzero((char *)&(hufftree[256]),sizeof(huff_node)*256); /* FIXME: replace bzero with memset? */
+memset(&(hufftree[256]), 0, sizeof(huff_node) * 256);
/*
** Build the huffman tree. First clear all the parent
** pointers and left/right pointers. Also, discard all