Replace uint64 use introduced in 4868e44685 in light of 595a0eab7f.

Reported-By: Tom Lane
Discussion: https://postgr.es/m/527.1538598263@sss.pgh.pa.us
pull/34/head
Andres Freund 7 years ago
parent 4868e44685
commit d173652797
  1. 4
      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

Loading…
Cancel
Save