summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-28 21:33:59 (GMT)
committerGuido van Rossum <guido@python.org>2000-06-28 21:33:59 (GMT)
commitfa4811699314bc0c35d74672aac68199d6890211 (patch)
tree5861ad46fa9982145747970b9cf98358cf13f4a3
parente826895d4832e3e8e87d149f630275e3957fd393 (diff)
downloadcpython-fa4811699314bc0c35d74672aac68199d6890211.zip
cpython-fa4811699314bc0c35d74672aac68199d6890211.tar.gz
cpython-fa4811699314bc0c35d74672aac68199d6890211.tar.bz2
Trent Mick: use size_t instead of int where appropriate (time_strftime()).
-rw-r--r--Modules/timemodule.c4
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));