diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2020-04-24 00:13:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-24 00:13:33 (GMT) |
commit | 9f27dd3e16e2832fa8c375bfc4493de75b39d53f (patch) | |
tree | 54162dfda3697de15e06d3e8ded4b90bb82d0c26 /Parser/pegen/pegen.c | |
parent | 50f28dea32c45e1a49b3bd07c874b4fa837a5e88 (diff) | |
download | cpython-9f27dd3e16e2832fa8c375bfc4493de75b39d53f.zip cpython-9f27dd3e16e2832fa8c375bfc4493de75b39d53f.tar.gz cpython-9f27dd3e16e2832fa8c375bfc4493de75b39d53f.tar.bz2 |
Use Py_ssize_t instead of ssize_t (GH-19685)
Diffstat (limited to 'Parser/pegen/pegen.c')
-rw-r--r-- | Parser/pegen/pegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/pegen/pegen.c b/Parser/pegen/pegen.c index a51c8aa..c8f5c95 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) { |