summaryrefslogtreecommitdiffstats
path: root/Python/traceback.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-05-16 22:12:04 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-05-16 22:12:04 (GMT)
commit84bb1cf9940c64a6300bfdd31091b20f5f14ebb4 (patch)
tree6ef52d821a157e4f3008b68bbfc8d7b85d69284c /Python/traceback.c
parent9ce59bbe43178fa033234412318c64abc817cb40 (diff)
downloadcpython-84bb1cf9940c64a6300bfdd31091b20f5f14ebb4.zip
cpython-84bb1cf9940c64a6300bfdd31091b20f5f14ebb4.tar.gz
cpython-84bb1cf9940c64a6300bfdd31091b20f5f14ebb4.tar.bz2
Fix compilater warnings on Windows 64-bit
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 b928902..c56b23f 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