summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/smallprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/smallprint.c')
-rw-r--r--winsup/cygwin/smallprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/smallprint.c b/winsup/cygwin/smallprint.c
index 740248e82..6e7bf48d7 100644
--- a/winsup/cygwin/smallprint.c
+++ b/winsup/cygwin/smallprint.c
@@ -22,7 +22,7 @@ static char *
rn (char *dst, int base, int dosign, long long val, int len, int pad)
{
/* longest number is ULLONG_MAX, 18446744073709551615, 20 digits */
- unsigned uval;
+ unsigned long long uval;
char res[20];
static const char str[16] = "0123456789ABCDEF";
int l = 0;