summaryrefslogtreecommitdiff
path: root/Python/traceback.c
diff options
context:
space:
mode:
authorEric V. Smith <eric@trueblade.com>2013-07-02 09:07:53 -0400
committerEric V. Smith <eric@trueblade.com>2013-07-02 09:07:53 -0400
commit3df17fc294944998cee11b83e0fae62774cd0afe (patch)
tree3238348243c6a8486e303e3b5377bd67ccbebe89 /Python/traceback.c
parent877e273d143bc8af38641ffd47dfff3a0df9d4f3 (diff)
parentd445ec98e578d23ef46470e13d560532a9f6c28e (diff)
downloadcpython-3df17fc294944998cee11b83e0fae62774cd0afe.tar.gz
#18312: merge from 3.3.
Diffstat (limited to 'Python/traceback.c')
-rw-r--r--Python/traceback.c2
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