Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4868e44
)
Replace uint64 use introduced in 4868e446859 in light of 595a0eab7f42.
author
Andres Freund
<andres@anarazel.de>
Wed, 3 Oct 2018 20:28:14 +0000
(13:28 -0700)
committer
Andres Freund
<andres@anarazel.de>
Wed, 3 Oct 2018 20:28:14 +0000
(13:28 -0700)
Reported-By: Tom Lane
Discussion: https://postgr.es/m/527.
1538598263
@sss.pgh.pa.us
src/port/snprintf.c
patch
|
blob
|
blame
|
history
diff --git
a/src/port/snprintf.c
b/src/port/snprintf.c
index 872d80012401a1fb13a475fdf80b82553da68812..ef496fa4a43df8b018a7c15ca8fc989929e7c6b6 100644
(file)
--- 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 = -(u
int64
) value;
+ uvalue = -(u
nsigned long long
) value;
else
- uvalue = (u
int64
) value;
+ uvalue = (u
nsigned long long
) value;
/*
* SUS: the result of converting 0 with an explicit precision of 0 is no