Commit 06faed51 authored by Brett Cannon's avatar Brett Cannon

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

is more appropriate).
parent 642bde77
......@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment