Revert 43315: Printing of %zd must be signed.

This commit is contained in:
Martin v. Löwis 2006-05-13 13:34:04 +00:00
parent 90df06e5e2
commit 822f34a848
1 changed files with 2 additions and 2 deletions

View File

@ -275,8 +275,8 @@ PyString_FromFormatV(const char *format, va_list vargs)
if (longflag)
sprintf(s, "%ld", va_arg(vargs, long));
else if (size_tflag)
sprintf(s, "%" PY_FORMAT_SIZE_T "u",
va_arg(vargs, size_t));
sprintf(s, "%" PY_FORMAT_SIZE_T "d",
va_arg(vargs, Py_ssize_t));
else
sprintf(s, "%d", va_arg(vargs, int));
s += strlen(s);