Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit754ca99

Browse files
committed
Fix an overlooked UINT32_MAX.
Replace with PG_UINT32_MAX. Per buildfarm members dory and woodlouse.
1 parent02ddd49 commit754ca99

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
constuint64sum= (bits0 >>32)+bits1;
154154
constuint64shiftedSum=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)

[8]ページ先頭

©2009-2025 Movatter.jp