diff options
author | Andrew Gierth | 2019-02-13 15:57:54 +0000 |
---|---|---|
committer | Andrew Gierth | 2019-02-13 15:57:54 +0000 |
commit | 754ca99314e9e1debe855b0462869ef6e58b7e7a (patch) | |
tree | 385fbc7e07f7962c6c4bc1d5ea1dafdaf5a64737 /src/common/f2s.c | |
parent | 02ddd499322ab6f2f0d58692955dc9633c2150fc (diff) |
Fix an overlooked UINT32_MAX.
Replace with PG_UINT32_MAX. Per buildfarm members dory and woodlouse.
Diffstat (limited to 'src/common/f2s.c')
-rw-r--r-- | src/common/f2s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/f2s.c b/src/common/f2s.c index 4f36e1a5961..62432a539e7 100644 --- a/src/common/f2s.c +++ b/src/common/f2s.c @@ -153,7 +153,7 @@ mulShift(const uint32 m, const uint64 factor, const int32 shift) const uint64 sum = (bits0 >> 32) + bits1; const uint64 shiftedSum = sum >> (shift - 32); - Assert(shiftedSum <= UINT32_MAX); + Assert(shiftedSum <= PG_UINT32_MAX); return (uint32) shiftedSum; #endif /* RYU_32_BIT_PLATFORM */ |