mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
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
This commit is contained in:
parent
4868e44685
commit
d173652797
@ -1046,9 +1046,9 @@ fmtint(long long value, char type, int forcesign, int leftjust,
|
|||||||
|
|
||||||
/* Handle +/- */
|
/* Handle +/- */
|
||||||
if (dosign && adjust_sign((value < 0), forcesign, &signvalue))
|
if (dosign && adjust_sign((value < 0), forcesign, &signvalue))
|
||||||
uvalue = -(uint64) value;
|
uvalue = -(unsigned long long) value;
|
||||||
else
|
else
|
||||||
uvalue = (uint64) value;
|
uvalue = (unsigned long long) value;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SUS: the result of converting 0 with an explicit precision of 0 is no
|
* SUS: the result of converting 0 with an explicit precision of 0 is no
|
||||||
|
Loading…
x
Reference in New Issue
Block a user