Trent Mick: use size_t instead of int where appropriate (time_strftime()).
This commit is contained in:
parent
e826895d48
commit
fa48116993
|
@ -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…
Reference in New Issue