summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2019-10-21 06:49:48 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-10-21 06:49:48 (GMT)
commita9ed91e6c2f0f1a9960b1382321918448228a801 (patch)
tree88fb78383fa04a76a6bea628301512f13379babb /Modules
parent919f0bc8c904d3aa13eedb2dd1fe9c6b0555a591 (diff)
downloadcpython-a9ed91e6c2f0f1a9960b1382321918448228a801.zip
cpython-a9ed91e6c2f0f1a9960b1382321918448228a801.tar.gz
cpython-a9ed91e6c2f0f1a9960b1382321918448228a801.tar.bz2
bpo-27961: Replace PY_LONG_LONG with long long. (GH-15386)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_testcapimodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index a18a8e7..baa6907 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -4763,8 +4763,8 @@ dict_get_version(PyObject *self, PyObject *args)
version = dict->ma_version_tag;
- Py_BUILD_ASSERT(sizeof(unsigned PY_LONG_LONG) >= sizeof(version));
- return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)version);
+ Py_BUILD_ASSERT(sizeof(unsigned long long) >= sizeof(version));
+ return PyLong_FromUnsignedLongLong((unsigned long long)version);
}