Fix errors/warnings when compiling with -std=c++11

These are compatibility changes only.
This commit is contained in:
Jon Siwek 2014-10-27 12:54:17 -05:00
parent a26c674dfd
commit e60ceea87c
15 changed files with 33 additions and 32 deletions

View file

@ -110,7 +110,7 @@ public:
T result = 0;
// loop optmized with Duff's Device
register unsigned n = (size + 7) / 8;
unsigned n = (size + 7) / 8;
switch ( size % 8 ) {
case 0: do { result ^= byte_lookup[offset++][*p++];
case 7: result ^= byte_lookup[offset++][*p++];