mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-12-25 07:14:50 +01:00
Merge pull request #42 from iamthesenate1/GCC-11.x
Fix compilation with GCC 11.X
This commit is contained in:
commit
7fd3b651d1
|
@ -291,7 +291,7 @@ ULONG CTString::GetHash(void) const
|
|||
INDEX len = strlen(str_String);
|
||||
|
||||
for(INDEX i=0; i<len; i++) {
|
||||
ulKey = _rotl(ulKey,4)+toupper(str_String[i]);
|
||||
ulKey = rotl(ulKey,4)+toupper(str_String[i]);
|
||||
}
|
||||
return ulKey;
|
||||
}
|
||||
|
|
|
@ -232,7 +232,7 @@ MY_STATIC_ASSERT(size_tSize, sizeof(size_t) == sizeof(void*));
|
|||
}
|
||||
}
|
||||
|
||||
inline ULONG _rotl(ULONG ul, int bits)
|
||||
inline ULONG rotl(ULONG ul, int bits)
|
||||
{
|
||||
#if (defined __GNU_INLINE_X86_32__)
|
||||
// This, on the other hand, is wicked fast. :)
|
||||
|
|
Loading…
Reference in New Issue
Block a user