[Sumover-dev] [svn commit] r3769 - vic/trunk
sumover-dev at cs.ucl.ac.uk
sumover-dev at cs.ucl.ac.uk
Fri Jul 21 12:46:22 BST 2006
Author: socrates
Date: Fri Jul 21 12:46:21 2006
New Revision: 3769
Modified:
vic/trunk/huffman.h
Log:
Got rid of multiple Windows compile-time warnings (VS7.0).
Modified: vic/trunk/huffman.h
==============================================================================
--- vic/trunk/huffman.h (original)
+++ vic/trunk/huffman.h Fri Jul 21 12:46:21 2006
@@ -122,10 +122,10 @@
bb |= (bits) >> extra; \
HUFF_STORE_BITS(bs, bb) \
bs += (HUFF_NBIT / 8); \
- bb = (bits) << HUFF_NBIT - extra; \
+ bb = (bits) << (HUFF_NBIT - extra); \
nbb = extra; \
} else \
- bb |= (bits) << HUFF_NBIT - (nbb); \
+ bb |= (bits) << (HUFF_NBIT - (nbb)); \
}
#endif
More information about the Sumover-dev
mailing list