1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 06:23:04 +01:00

Consistently use literal suffix in upper-case

This commit is contained in:
Hielke Morsink
2022-10-17 13:58:22 +02:00
parent 9b4cdb903c
commit 97a7fcc110
23 changed files with 65 additions and 65 deletions

View File

@@ -66,7 +66,7 @@ int32_t bitscanforward(int32_t source)
// any intrinsic.
// cf. https://github.com/OpenRCT2/OpenRCT2/pull/2093
for (int32_t i = 0; i < 32; i++)
if (source & (1u << i))
if (source & (1U << i))
return i;
return -1;
@@ -88,7 +88,7 @@ int32_t bitscanforward(int64_t source)
// any intrinsic.
// cf. https://github.com/OpenRCT2/OpenRCT2/pull/2093
for (int32_t i = 0; i < 64; i++)
if (source & (1ull << i))
if (source & (1ULL << i))
return i;
return -1;