summaryrefslogtreecommitdiffstats
path: root/PC/_winreg.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2008-03-25 04:18:18 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2008-03-25 04:18:18 (GMT)
commit4677fbf7de591d0cea0d1aeaa9639ee46faa48f5 (patch)
tree901a21ade405c98f331df5c2ef3ccf1266280f0b /PC/_winreg.c
parent40f5e4c5a20436e61e8cdcda9c5a3d0162f9435c (diff)
downloadcpython-4677fbf7de591d0cea0d1aeaa9639ee46faa48f5.zip
cpython-4677fbf7de591d0cea0d1aeaa9639ee46faa48f5.tar.gz
cpython-4677fbf7de591d0cea0d1aeaa9639ee46faa48f5.tar.bz2
Try to fix a bunch of compiler warnings on Win64.
Diffstat (limited to 'PC/_winreg.c')
-rw-r--r--PC/_winreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_winreg.c b/PC/_winreg.c
index 19f928e..dfc4cf8 100644
--- a/PC/_winreg.c
+++ b/PC/_winreg.c
@@ -715,7 +715,7 @@ countStrings(char *data, int len)
static BOOL
Py2Reg(PyObject *value, DWORD typ, BYTE **retDataBuf, DWORD *retDataSize)
{
- int i,j;
+ Py_ssize_t i,j;
switch (typ) {
case REG_DWORD:
if (value != Py_None && !PyInt_Check(value))