commit | 3d06953c34fd6421dd1dfdb615578cde676ee0eb | [log] [tgz] |
---|---|---|
author | Andy Lester <andy@petdance.com> | Wed Feb 05 15:09:57 2020 -0600 |
committer | GitHub <noreply@github.com> | Wed Feb 05 23:09:57 2020 +0200 |
tree | dd441ddfefafc96405ed26b8979f130bb11559b5 | |
parent | 8b6f6526f857bb7523b0fcff09b45bc6471289e9 [diff] [blame] |
bpo-39127: Make _Py_HashPointer's argument be const (GH-17690)
diff --git a/Python/pyhash.c b/Python/pyhash.c index 4c0b929..d381dc0 100644 --- a/Python/pyhash.c +++ b/Python/pyhash.c
@@ -129,7 +129,7 @@ } Py_hash_t -_Py_HashPointer(void *p) +_Py_HashPointer(const void *p) { Py_hash_t x; size_t y = (size_t)p;