Follow up to #9778: fix regressions on 64-bit Windows builds
diff --git a/PC/winreg.c b/PC/winreg.c
index c283b44..1bc47b9 100644
--- a/PC/winreg.c
+++ b/PC/winreg.c
@@ -452,7 +452,7 @@
          (pyhkey1 < pyhkey2 ? -1 : 1);
 }
 
-static long
+static Py_hash_t
 PyHKEY_hashFunc(PyObject *ob)
 {
     /* Just use the address.