From: Guido van Rossum Date: Wed, 28 Jun 2000 21:33:59 +0000 (+0000) Subject: Trent Mick: use size_t instead of int where appropriate (time_strftime()). X-Git-Tag: v2.0b1~1345 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa4811699314bc0c35d74672aac68199d6890211;p=thirdparty%2FPython%2Fcpython.git Trent Mick: use size_t instead of int where appropriate (time_strftime()). --- diff --git a/Modules/timemodule.c b/Modules/timemodule.c index faadf1e0fc3d..2644e72235e5 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));