Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-1
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)