]> granicus.if.org Git - python/commitdiff
Trent Mick: use size_t instead of int where appropriate (time_strftime()).
authorGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 21:33:59 +0000 (21:33 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 21:33:59 +0000 (21:33 +0000)
Modules/timemodule.c

index faadf1e0fc3daa1eb78e8da7995086b30421c9d3..2644e72235e54de97fb225080134b1635d8b9586 100644 (file)
@@ -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));