summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-08 16:15:54 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-08 16:15:54 (GMT)
commit47ff0734b817d293ae84603efad2f3f508d85f78 (patch)
tree4be3f7fa6164e1a3ca0e3a1b9fdd3a7b12f334c3 /Objects/unicodeobject.c
parentc71ec8aef37f8a72d1dc3237b127f15a32ba0997 (diff)
downloadcpython-47ff0734b817d293ae84603efad2f3f508d85f78.zip
cpython-47ff0734b817d293ae84603efad2f3f508d85f78.tar.gz
cpython-47ff0734b817d293ae84603efad2f3f508d85f78.tar.bz2
more PY_LONG_LONG to long long
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 3553aaf..88f68ef 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -2680,7 +2680,7 @@ unicode_fromformat_arg(_PyUnicodeWriter *writer,
len = sprintf(buffer, "%lu",
va_arg(*vargs, unsigned long));
else if (longlongflag)
- len = sprintf(buffer, "%" PY_FORMAT_LONG_LONG "u",
+ len = sprintf(buffer, "%llu",
va_arg(*vargs, unsigned long long));
else if (size_tflag)
len = sprintf(buffer, "%" PY_FORMAT_SIZE_T "u",
@@ -2697,7 +2697,7 @@ unicode_fromformat_arg(_PyUnicodeWriter *writer,
len = sprintf(buffer, "%li",
va_arg(*vargs, long));
else if (longlongflag)
- len = sprintf(buffer, "%" PY_FORMAT_LONG_LONG "i",
+ len = sprintf(buffer, "%lli",
va_arg(*vargs, long long));
else if (size_tflag)
len = sprintf(buffer, "%" PY_FORMAT_SIZE_T "i",