From 9f27dd3e16e2832fa8c375bfc4493de75b39d53f Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Fri, 24 Apr 2020 01:13:33 +0100 Subject: Use Py_ssize_t instead of ssize_t (GH-19685) --- Parser/pegen/pegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/pegen/pegen.c b/Parser/pegen/pegen.c index a51c8aae8b..c8f5c95b47 100644 --- a/Parser/pegen/pegen.c +++ b/Parser/pegen/pegen.c @@ -1161,7 +1161,7 @@ _PyPegen_join_names_with_dot(Parser *p, expr_ty first_name, expr_ty second_name) if (!second_str) { return NULL; } - ssize_t len = strlen(first_str) + strlen(second_str) + 1; // +1 for the dot + Py_ssize_t len = strlen(first_str) + strlen(second_str) + 1; // +1 for the dot PyObject *str = PyBytes_FromStringAndSize(NULL, len); if (!str) { -- cgit v1.2.1