]> granicus.if.org Git - python/commit
bpo-30465: Fix C downcast warning on Windows in ast.c (#6593)
authorVictor Stinner <vstinner@redhat.com>
Mon, 30 Apr 2018 21:51:02 +0000 (23:51 +0200)
committerŁukasz Langa <lukasz@langa.pl>
Mon, 30 Apr 2018 21:51:02 +0000 (14:51 -0700)
commitfb7e7992beec7f76cc2db77ab6ce1e86446bfccf
tree60f7280ffa657033d2e488e41512287ddc00c072
parent5a49ca61d2f00941c304b2390af8a927bf1c4a77
bpo-30465: Fix C downcast warning on Windows in ast.c (#6593)

ast.c: fstring_fix_node_location() downcasts a pointer difference to
a C int. Replace int with Py_ssize_t to fix the compiler warning.
Python/ast.c