comparison Python/traceback.c @ 83802:ef5dd5bda323

Fix compilater warnings on Windows 64-bit
author Victor Stinner <victor.stinner@gmail.com>
date Fri, 17 May 2013 00:12:04 +0200
parents ff7fc6a91212
children 2e42c0a39321
comparison
equal deleted inserted replaced
83801:16a00dd78cd0 83802:ef5dd5bda323
11 #include <fcntl.h> 11 #include <fcntl.h>
12 #endif 12 #endif
13 13
14 #define OFF(x) offsetof(PyTracebackObject, x) 14 #define OFF(x) offsetof(PyTracebackObject, x)
15 15
16 #define PUTS(fd, str) write(fd, str, strlen(str)) 16 #define PUTS(fd, str) write(fd, str, (int)strlen(str))
17 #define MAX_STRING_LENGTH 500 17 #define MAX_STRING_LENGTH 500
18 #define MAX_FRAME_DEPTH 100 18 #define MAX_FRAME_DEPTH 100
19 #define MAX_NTHREADS 100 19 #define MAX_NTHREADS 100
20 20
21 /* Function from Parser/tokenizer.c */ 21 /* Function from Parser/tokenizer.c */