aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2018-10-03 13:28:14 -0700
committerAndres Freund <andres@anarazel.de>2018-10-03 13:28:14 -0700
commitd173652797cf0cf456ac2c38eca898159a7c19fc (patch)
tree795a7c5fa6d42c7bc5c01fd32780f057af57476a /src
parent4868e4468590bc32f9c3afed4ec795d6a7732c9d (diff)
downloadpostgresql-d173652797cf0cf456ac2c38eca898159a7c19fc.tar.gz
postgresql-d173652797cf0cf456ac2c38eca898159a7c19fc.zip
Replace uint64 use introduced in 4868e446859 in light of 595a0eab7f42.
Reported-By: Tom Lane Discussion: https://postgr.es/m/527.1538598263@sss.pgh.pa.us
Diffstat (limited to 'src')
-rw-r--r--src/port/snprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/snprintf.c b/src/port/snprintf.c
index 872d8001240..ef496fa4a43 100644
--- a/src/port/snprintf.c
+++ b/src/port/snprintf.c
@@ -1046,9 +1046,9 @@ fmtint(long long value, char type, int forcesign, int leftjust,
/* Handle +/- */
if (dosign && adjust_sign((value < 0), forcesign, &signvalue))
- uvalue = -(uint64) value;
+ uvalue = -(unsigned long long) value;
else
- uvalue = (uint64) value;
+ uvalue = (unsigned long long) value;
/*
* SUS: the result of converting 0 with an explicit precision of 0 is no