Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d173652

Browse 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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/port/snprintf.c

+2-2
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)