forked from boostorg/beast
Fix VS2013 warnings about integer conversions
This commit is contained in:
1 parent
fdfcebd1cb
commit
df3f5e442d
13 files changed
+34
-31
No files matched your search
@@ -183,7 +183,8 @@ void SpookyHash::Hash128(
|
||||
remainder = (length - ((const uint8 *)end-(const uint8 *)message));
|
||||
memcpy(buf, end, remainder);
|
||||
memset(((uint8 *)buf)+remainder, 0, sc_blockSize-remainder);
|
||||
((uint8 *)buf)[sc_blockSize-1] = remainder;
|
||||
((uint8 *)buf)[sc_blockSize-1] =
|
||||
static_cast<uint8>(remainder);
|
||||
|
||||
// do some final mixing
|
||||
End(buf, h0,h1,h2,h3,h4,h5,h6,h7,h8,h9,h10,h11);
|
||||
|
||||
Reference in new issue
Block a user