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

Appearance settings

Commit d173652

Browse filesBrowse files
committed
Replace uint64 use introduced in 4868e44 in light of 595a0ea.
Reported-By: Tom Lane Discussion: https://postgr.es/m/527.1538598263@sss.pgh.pa.us
1 parent 4868e44 commit d173652
Copy full SHA for d173652

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/port/snprintf.c

Copy file name to clipboardExpand all lines: src/port/snprintf.c
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.