diff options
author | Matt Turner <mattst88@gmail.com> | 2008-11-16 03:13:38 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2008-11-16 03:13:38 +0000 |
commit | 1df846b3f94aa7ca9a6622577c367c864131bd04 (patch) | |
tree | 4ada2450229a22d5d3d0a2a67d780ffcc7bd0e27 /huffman.c | |
parent | 761470f9b51f2df8d25baf6060a7acfd333ba698 (diff) |
Fix ansi/pedantic warnings
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@65 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
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 |