Trent Mick: use size_t instead of int where appropriate (time_strftime()).

This commit is contained in:
Guido van Rossum 2000-06-28 21:33:59 +00:00
parent e826895d48
commit fa48116993
1 changed files with 2 additions and 2 deletions

View File

@ -378,9 +378,9 @@ time_strftime(self, args)
PyObject *tup; PyObject *tup;
struct tm buf; struct tm buf;
const char *fmt; const char *fmt;
int fmtlen, buflen; size_t fmtlen, buflen;
char *outbuf = 0; char *outbuf = 0;
int i; size_t i;
memset((ANY *) &buf, '\0', sizeof(buf)); memset((ANY *) &buf, '\0', sizeof(buf));