Fix compilater warnings on Windows 64-bit

This commit is contained in:
Victor Stinner 2013-05-17 00:12:04 +02:00
parent 9ce59bbe43
commit 84bb1cf994
2 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@
#define OFF(x) offsetof(PyTracebackObject, x)
#define PUTS(fd, str) write(fd, str, strlen(str))
#define PUTS(fd, str) write(fd, str, (int)strlen(str))
#define MAX_STRING_LENGTH 500
#define MAX_FRAME_DEPTH 100
#define MAX_NTHREADS 100