diff options
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/printf.c b/toys/posix/printf.c index 2dd1e2f1..5448d8c7 100644 --- a/toys/posix/printf.c +++ b/toys/posix/printf.c @@ -119,7 +119,7 @@ void printf_main(void) } else if (c == 'c') printf(toybuf, wp[0], wp[1], *aa); else if (c == 's') printf(toybuf, wp[0], wp[1], aa); else if (strchr("diouxX", c)) { - long ll; + long long ll; if (*aa == '\'' || *aa == '"') ll = aa[1]; else ll = strtoll(aa, &end, 0); |