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

Commitd173652

Browse files
committed
Replace uint64 use introduced in4868e44 in light of595a0ea.
Reported-By: Tom LaneDiscussion:https://postgr.es/m/527.1538598263@sss.pgh.pa.us
1 parent4868e44 commitd173652

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/port/snprintf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,9 +1046,9 @@ fmtint(long long value, char type, int forcesign, int leftjust,
10461046

10471047
/* Handle +/- */
10481048
if (dosign&&adjust_sign((value<0),forcesign,&signvalue))
1049-
uvalue=-(uint64)value;
1049+
uvalue=-(unsigned long long)value;
10501050
else
1051-
uvalue= (uint64)value;
1051+
uvalue= (unsigned long long)value;
10521052

10531053
/*
10541054
* SUS: the result of converting 0 with an explicit precision of 0 is no

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp