diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-08 16:15:54 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-08 16:15:54 (GMT) |
commit | 47ff0734b817d293ae84603efad2f3f508d85f78 (patch) | |
tree | 4be3f7fa6164e1a3ca0e3a1b9fdd3a7b12f334c3 /Modules/_blake2 | |
parent | c71ec8aef37f8a72d1dc3237b127f15a32ba0997 (diff) | |
download | cpython-47ff0734b817d293ae84603efad2f3f508d85f78.zip cpython-47ff0734b817d293ae84603efad2f3f508d85f78.tar.gz cpython-47ff0734b817d293ae84603efad2f3f508d85f78.tar.bz2 |
more PY_LONG_LONG to long long
Diffstat (limited to 'Modules/_blake2')
-rw-r--r-- | Modules/_blake2/blake2b_impl.c | 4 | ||||
-rw-r--r-- | Modules/_blake2/blake2s_impl.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_blake2/blake2b_impl.c b/Modules/_blake2/blake2b_impl.c index 9c3d8f5..58b502b 100644 --- a/Modules/_blake2/blake2b_impl.c +++ b/Modules/_blake2/blake2b_impl.c @@ -100,7 +100,7 @@ py_blake2b_new_impl(PyTypeObject *type, PyObject *data, int digest_size, Py_buffer buf; unsigned long leaf_size = 0; - unsigned PY_LONG_LONG node_offset = 0; + unsigned long long node_offset = 0; self = new_BLAKE2bObject(type); if (self == NULL) { @@ -170,7 +170,7 @@ py_blake2b_new_impl(PyTypeObject *type, PyObject *data, int digest_size, if (node_offset_obj != NULL) { node_offset = PyLong_AsUnsignedLongLong(node_offset_obj); - if (node_offset == (unsigned PY_LONG_LONG) -1 && PyErr_Occurred()) { + if (node_offset == (unsigned long long) -1 && PyErr_Occurred()) { goto error; } } diff --git a/Modules/_blake2/blake2s_impl.c b/Modules/_blake2/blake2s_impl.c index 53c22c2..11d2e02 100644 --- a/Modules/_blake2/blake2s_impl.c +++ b/Modules/_blake2/blake2s_impl.c @@ -100,7 +100,7 @@ py_blake2s_new_impl(PyTypeObject *type, PyObject *data, int digest_size, Py_buffer buf; unsigned long leaf_size = 0; - unsigned PY_LONG_LONG node_offset = 0; + unsigned long long node_offset = 0; self = new_BLAKE2sObject(type); if (self == NULL) { @@ -170,7 +170,7 @@ py_blake2s_new_impl(PyTypeObject *type, PyObject *data, int digest_size, if (node_offset_obj != NULL) { node_offset = PyLong_AsUnsignedLongLong(node_offset_obj); - if (node_offset == (unsigned PY_LONG_LONG) -1 && PyErr_Occurred()) { + if (node_offset == (unsigned long long) -1 && PyErr_Occurred()) { goto error; } } |