diff options
author | Eric V. Smith <eric@trueblade.com> | 2013-07-02 09:07:53 -0400 |
---|---|---|
committer | Eric V. Smith <eric@trueblade.com> | 2013-07-02 09:07:53 -0400 |
commit | 3df17fc294944998cee11b83e0fae62774cd0afe (patch) | |
tree | 3238348243c6a8486e303e3b5377bd67ccbebe89 /Python/traceback.c | |
parent | 877e273d143bc8af38641ffd47dfff3a0df9d4f3 (diff) | |
parent | d445ec98e578d23ef46470e13d560532a9f6c28e (diff) | |
download | cpython-3df17fc294944998cee11b83e0fae62774cd0afe.tar.gz |
#18312: merge from 3.3.
Diffstat (limited to 'Python/traceback.c')
-rw-r--r-- | Python/traceback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/traceback.c b/Python/traceback.c index b928902ef0..c56b23f6cc 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -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 |