From 3d06953c34fd6421dd1dfdb615578cde676ee0eb Mon Sep 17 00:00:00 2001 From: Andy Lester Date: Wed, 5 Feb 2020 15:09:57 -0600 Subject: bpo-39127: Make _Py_HashPointer's argument be const (GH-17690) --- Python/pyhash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/pyhash.c') 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; -- cgit v1.2.1