summaryrefslogtreecommitdiffstats
path: root/Python/pyhash.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2020-02-05 21:09:57 (GMT)
committerGitHub <noreply@github.com>2020-02-05 21:09:57 (GMT)
commit3d06953c34fd6421dd1dfdb615578cde676ee0eb (patch)
treedd441ddfefafc96405ed26b8979f130bb11559b5 /Python/pyhash.c
parent8b6f6526f857bb7523b0fcff09b45bc6471289e9 (diff)
downloadcpython-3d06953c34fd6421dd1dfdb615578cde676ee0eb.zip
cpython-3d06953c34fd6421dd1dfdb615578cde676ee0eb.tar.gz
cpython-3d06953c34fd6421dd1dfdb615578cde676ee0eb.tar.bz2
bpo-39127: Make _Py_HashPointer's argument be const (GH-17690)
Diffstat (limited to 'Python/pyhash.c')
-rw-r--r--Python/pyhash.c2
1 files changed, 1 insertions, 1 deletions
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_HashDouble(double v)
}
Py_hash_t
-_Py_HashPointer(void *p)
+_Py_HashPointer(const void *p)
{
Py_hash_t x;
size_t y = (size_t)p;