rollbuffer refactor

This commit is contained in:
Yann Collet
2015-11-23 13:34:21 +01:00
parent d7233d6e14
commit 5054ee0cc0
3 changed files with 101 additions and 120 deletions
+1 -1
View File
@@ -475,7 +475,7 @@ MEM_STATIC size_t BIT_readBitsFast(BIT_DStream_t* bitD, unsigned nbBits);
MEM_STATIC unsigned BIT_highbit32 (register U32 val)
{
# if defined(_MSC_VER) /* Visual */
unsigned long r;
unsigned long r=0;
_BitScanReverse ( &r, val );
return (unsigned) r;
# elif defined(__GNUC__) && (__GNUC__ >= 3) /* Use GCC Intrinsic */