diff options
Diffstat (limited to 'PC')
-rw-r--r-- | PC/_winreg.c | 1 | ||||
-rw-r--r-- | PC/w9xpopen.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/PC/_winreg.c b/PC/_winreg.c index 0dcade8..5c5023d 100644 --- a/PC/_winreg.c +++ b/PC/_winreg.c @@ -703,6 +703,7 @@ countStrings(wchar_t *data, int len) static BOOL Py2Reg(PyObject *value, DWORD typ, BYTE **retDataBuf, DWORD *retDataSize) { + Py_ssize_t i,j; switch (typ) { case REG_DWORD: if (value != Py_None && !PyLong_Check(value)) diff --git a/PC/w9xpopen.c b/PC/w9xpopen.c index f8439f2..b3978dd 100644 --- a/PC/w9xpopen.c +++ b/PC/w9xpopen.c @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) STARTUPINFO si; PROCESS_INFORMATION pi; DWORD exit_code=0; - int cmdlen = 0; + size_t cmdlen = 0; int i; char *cmdline, *cmdlinefill; |