Skip to content

Commit 754ca99

Browse files
committed
Fix an overlooked UINT32_MAX.
Replace with PG_UINT32_MAX. Per buildfarm members dory and woodlouse.
1 parent 02ddd49 commit 754ca99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/f2s.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ mulShift(const uint32 m, const uint64 factor, const int32 shift)
153153
const uint64 sum = (bits0 >> 32) + bits1;
154154
const uint64 shiftedSum = sum >> (shift - 32);
155155

156-
Assert(shiftedSum <= UINT32_MAX);
156+
Assert(shiftedSum <= PG_UINT32_MAX);
157157
return (uint32) shiftedSum;
158158

159159
#endif /* RYU_32_BIT_PLATFORM */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy