diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-11-06 23:15:11 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-11-06 23:15:11 (GMT) |
commit | 27da812498ca99ad12a4a8f146be6fc96df5bacc (patch) | |
tree | f95367422d4e4521541a287b7cdedf3b25d0ddf4 /Modules/datetimemodule.c | |
parent | c6f600899131377b3c522702ffc453cc80b27420 (diff) | |
download | cpython-27da812498ca99ad12a4a8f146be6fc96df5bacc.zip cpython-27da812498ca99ad12a4a8f146be6fc96df5bacc.tar.gz cpython-27da812498ca99ad12a4a8f146be6fc96df5bacc.tar.bz2 |
Change a variable to Py_ssize_t to silence a compiler warning (and because it
is more appropriate).
Diffstat (limited to 'Modules/datetimemodule.c')
-rw-r--r-- | Modules/datetimemodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c index 6b2cd5a..9342b19 100644 --- a/Modules/datetimemodule.c +++ b/Modules/datetimemodule.c @@ -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)); |