[*] Two trivial changes (not fixing or improving anything)

This commit is contained in:
Reece Wilson 2023-08-18 15:53:38 +01:00
parent 7dd6145dc1
commit 4240966512
2 changed files with 4 additions and 4 deletions

View File

@ -204,9 +204,9 @@ namespace Aurora::RNG
acc = 0;
bits = 8;
c = AuFnv1a32Runtime(&acc, sizeof(acc)) ^
(AuFnv1a32Runtime(&c, sizeof(c)) * kFnv1MagicPrime32) ^
(a ? AuFnv1a32Runtime(&pASLRSeed, sizeof(pASLRSeed)) : 0);
c = AuHashCode(acc) ^
(AuHashCode(c) * kFnv1MagicPrime32) ^
(a ? AuHashCode(pASLRSeed) : 0);
}
*pBuf++ = AuUInt8(c);

View File

@ -103,7 +103,7 @@ namespace Aurora::Threading::Primitives
}
while (ret == EINTR);
RUNTIME_ASSERT_SHUTDOWN_SAFE(bStatus, "semaphore wait failed: {}", ret)
RUNTIME_ASSERT_SHUTDOWN_SAFE(bStatus, "Condvar wait failed: {}", ret)
}
old = this->uState_;