summaryrefslogtreecommitdiff
path: root/Python/traceback.c
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2013-07-02 13:01:31 +0100
committerRichard Oudkerk <shibturn@gmail.com>2013-07-02 13:01:31 +0100
commit6ec3b245878b4c2a400c5d76248b890f93e56360 (patch)
tree91d5c8201589be1521ea579dafcc826ea7cf6381 /Python/traceback.c
parent6545fa4a1cd1f1ace8e98c30e1f5c14037b9b00c (diff)
parent02c19344d88af8392d3dbac66306228f66e5f96c (diff)
downloadcpython-6ec3b245878b4c2a400c5d76248b890f93e56360.tar.gz
Issue #14206: Clarify docs for Queue.join_cancel_thread().
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