diff options
Diffstat (limited to 'huffman.c')
-rw-r--r-- | huffman.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |