Avoid explicit long long constants.

This commit is contained in:
Alexandre Julliard 2003-03-18 20:01:45 +00:00
parent 02c0b9c5dc
commit c85f61b189
1 changed files with 2 additions and 4 deletions

View File

@ -467,14 +467,12 @@ static void test_RtlFindLeastSignificantBit()
for (i = 0; i < 64; i++)
{
ulLong = 1ul;
ulLong <<= i;
ulLong = (ULONGLONG)1 << i;
cPos = pRtlFindLeastSignificantBit(ulLong);
ok (cPos == i, "didnt find LSB %llx %d %d", ulLong, i, cPos);
ulLong = 0xfffffffffffffffful;
ulLong <<= i;
ulLong = ~((ULONGLONG)0) << i;
cPos = pRtlFindLeastSignificantBit(ulLong);
ok (cPos == i, "didnt find LSB %llx %d %d", ulLong, i, cPos);