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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy