Change a variable to Py_ssize_t to silence a compiler warning (and because it

is more appropriate).
This commit is contained in:
Brett Cannon 2007-11-06 23:15:11 +00:00
parent c6f6008991
commit 27da812498
1 changed files with 1 additions and 1 deletions

View File

@ -1197,7 +1197,7 @@ wrap_strftime(PyObject *object, PyObject *format, PyObject *timetuple,
int usednew; /* number bytes used so far in output format buffer */
const char *ptoappend;/* pointer to string to append to output buffer */
int ntoappend; /* # of bytes to append to output buffer */
Py_ssize_t ntoappend; /* # of bytes to append to output buffer */
assert(object && format && timetuple);
assert(PyUnicode_Check(format));