mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Trent Mick: use size_t instead of int where appropriate (time_strftime()).
This commit is contained in:
parent
e826895d48
commit
fa48116993
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue