summaryrefslogtreecommitdiff
path: root/Python/pyhash.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2020-02-05 15:09:57 -0600
committerGitHub <noreply@github.com>2020-02-05 23:09:57 +0200
commit3d06953c34fd6421dd1dfdb615578cde676ee0eb (patch)
treedd441ddfefafc96405ed26b8979f130bb11559b5 /Python/pyhash.c
parent8b6f6526f857bb7523b0fcff09b45bc6471289e9 (diff)
downloadcpython-git-3d06953c34fd6421dd1dfdb615578cde676ee0eb.tar.gz
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 4c0b929586..d381dc0230 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;