mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +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;
|
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));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue