RtlCountLeadingZeroes64() should take 64bit value
Builds / ExectOS (i686) (push) Successful in 29s Details
Builds / ExectOS (amd64) (push) Successful in 31s Details

This commit is contained in:
Rafal Kupiec 2024-03-23 00:36:59 +01:00
parent 9aff665d1a
commit 74b2c80869
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ RtlCountLeadingZeroes32(IN ULONG Value);
XTAPI
INT
RtlCountLeadingZeroes64(IN ULONG Value);
RtlCountLeadingZeroes64(IN ULONGLONG Value);
XTAPI
INT

View File

@ -81,7 +81,7 @@ RtlCountLeadingZeroes32(IN ULONG Value)
*/
XTAPI
INT
RtlCountLeadingZeroes64(IN ULONG Value)
RtlCountLeadingZeroes64(IN ULONGLONG Value)
{
/* Return a number of leading zero bits */
return __builtin_clzll(Value);