Commit 0c335cdd authored by Guido van Rossum's avatar Guido van Rossum

Trent Mick: use size_t instead of int where appropriate (time_strftime()).

parent 9ec63bab
...@@ -378,9 +378,9 @@ time_strftime(self, args) ...@@ -378,9 +378,9 @@ time_strftime(self, args)
PyObject *tup; PyObject *tup;
struct tm buf; struct tm buf;
const char *fmt; const char *fmt;
int fmtlen, buflen; size_t fmtlen, buflen;
char *outbuf = 0; char *outbuf = 0;
int i; size_t i;
memset((ANY *) &buf, '\0', sizeof(buf)); memset((ANY *) &buf, '\0', sizeof(buf));
......
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