mirror of
https://github.com/nicbarker/clay.git
synced 2026-02-06 12:48:49 +00:00
[Compilers] Fix implicit typecast in simd hash function
This commit is contained in:
parent
6a7ce77024
commit
1204ac400b
1 changed files with 1 additions and 1 deletions
2
clay.h
2
clay.h
|
|
@ -1373,7 +1373,7 @@ uint64_t Clay__HashData(const uint8_t* data, size_t length) {
|
|||
length -= 16;
|
||||
}
|
||||
else {
|
||||
for (int i = 0; i < length; i++) {
|
||||
for (size_t i = 0; i < length; i++) {
|
||||
overflowBuffer[i] = data[i];
|
||||
}
|
||||
msg = _mm_loadu_si128((const __m128i*)overflowBuffer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue