From 754ca99314e9e1debe855b0462869ef6e58b7e7a Mon Sep 17 00:00:00 2001 From: Andrew Gierth Date: Wed, 13 Feb 2019 15:57:54 +0000 Subject: [PATCH] Fix an overlooked UINT32_MAX. Replace with PG_UINT32_MAX. Per buildfarm members dory and woodlouse. --- src/common/f2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/f2s.c b/src/common/f2s.c index 4f36e1a596..62432a539e 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 */