mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Complete the previous commit by also removing the inline min and max
functions defined in HeadSpin.h without breaking (3ds)Max compilation
This commit is contained in:
@ -48,8 +48,8 @@ void CryptCreateRandomSeed(size_t length, uint8_t* data)
|
||||
{
|
||||
uint32_t seedIdx = 0;
|
||||
uint32_t dataIdx = 0;
|
||||
uint32_t cur = 0;
|
||||
uint32_t end = max(length, sizeof(ShaDigest));
|
||||
size_t cur = 0;
|
||||
size_t end = std::max(length, sizeof(ShaDigest));
|
||||
|
||||
// Combine seed with input data
|
||||
for (; cur < end; cur++) {
|
||||
|
Reference in New Issue
Block a user