From fa4811699314bc0c35d74672aac68199d6890211 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 28 Jun 2000 21:33:59 +0000 Subject: [PATCH] Trent Mick: use size_t instead of int where appropriate (time_strftime()). --- Modules/timemodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/timemodule.c b/Modules/timemodule.c index faadf1e0fc..2644e72235 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)); -- 2.40.0