diff options
author | Guido van Rossum <guido@python.org> | 2000-06-28 21:33:59 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-06-28 21:33:59 (GMT) |
commit | fa4811699314bc0c35d74672aac68199d6890211 (patch) | |
tree | 5861ad46fa9982145747970b9cf98358cf13f4a3 /Modules | |
parent | e826895d4832e3e8e87d149f630275e3957fd393 (diff) | |
download | cpython-fa4811699314bc0c35d74672aac68199d6890211.zip cpython-fa4811699314bc0c35d74672aac68199d6890211.tar.gz cpython-fa4811699314bc0c35d74672aac68199d6890211.tar.bz2 |
Trent Mick: use size_t instead of int where appropriate (time_strftime()).
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/timemodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index faadf1e..2644e72 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -378,9 +378,9 @@ time_strftime(self, args) PyObject *tup; struct tm buf; const char *fmt; - int fmtlen, buflen; + size_t fmtlen, buflen; char *outbuf = 0; - int i; + size_t i; memset((ANY *) &buf, '\0', sizeof(buf)); |