Skip to content

Commit b763d88

Browse files
author
devsh
committed
fix another horrible typo that broke everything
1 parent f3f4344 commit b763d88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/nbl/core/hash/blake.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ struct hash<nbl::core::blake3_hash_t>
116116
{
117117
auto* as_p_uint64_t = reinterpret_cast<const size_t*>(blake3.data);
118118
size_t retval = as_p_uint64_t[0];
119-
for (auto i=1; i<BLAKE3_OUT_LEN; i++)
119+
for (auto i=1; i<BLAKE3_OUT_LEN/sizeof(size_t); i++)
120120
retval ^= as_p_uint64_t[i] + 0x9e3779b97f4a7c15ull + (retval << 6) + (retval >> 2);
121121
return retval;
122122
}

0 commit comments

Comments
 (0)