diff options
Diffstat (limited to 'src/shared/ByteBuffer.h')
-rw-r--r-- | src/shared/ByteBuffer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/shared/ByteBuffer.h b/src/shared/ByteBuffer.h index b22dbdee729..d5001cfc1bf 100644 --- a/src/shared/ByteBuffer.h +++ b/src/shared/ByteBuffer.h @@ -306,7 +306,7 @@ class ByteBuffer uint8 guidmark = 0; (*this) >> guidmark; - for(int i = 0; i < 8; ++i) + for (int i = 0; i < 8; ++i) { if(guidmark & (uint8(1) << i)) { @@ -391,7 +391,7 @@ class ByteBuffer size_t mask_position = wpos(); *this << uint8(0); - for(uint8 i = 0; i < 8; ++i) + for (uint8 i = 0; i < 8; ++i) { if(guid & 0xFF) { @@ -416,7 +416,7 @@ class ByteBuffer return; sLog.outDebug("STORAGE_SIZE: %lu", (unsigned long)size() ); - for(uint32 i = 0; i < size(); ++i) + for (uint32 i = 0; i < size(); ++i) sLog.outDebugInLine("%u - ", read<uint8>(i) ); sLog.outDebug(" "); } @@ -427,7 +427,7 @@ class ByteBuffer return; sLog.outDebug("STORAGE_SIZE: %lu", (unsigned long)size() ); - for(uint32 i = 0; i < size(); ++i) + for (uint32 i = 0; i < size(); ++i) sLog.outDebugInLine("%c", read<uint8>(i) ); sLog.outDebug(" "); } @@ -440,7 +440,7 @@ class ByteBuffer uint32 j = 1, k = 1; sLog.outDebug("STORAGE_SIZE: %lu", (unsigned long)size() ); - for(uint32 i = 0; i < size(); ++i) + for (uint32 i = 0; i < size(); ++i) { if ((i == (j * 8)) && ((i != (k * 16)))) { |