[pywin32-checkins] /hgroot/pywin32/pywin32: Fix DWORD parameters for UnlockFileEx
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <pyw...@li...> - 2014-10-03 15:53:23
|
changeset 5bab1c62bff6 in /hgroot/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgroot/pywin32/pywin32?cmd=changeset;node=5bab1c62bff6 summary: Fix DWORD parameters for UnlockFileEx diffstat: win32/src/win32file.i | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r d03aef67bfec -r 5bab1c62bff6 win32/src/win32file.i --- a/win32/src/win32file.i Fri Oct 03 11:16:45 2014 -0400 +++ b/win32/src/win32file.i Fri Oct 03 11:51:59 2014 -0400 @@ -1099,7 +1099,7 @@ PyObject *obOverlapped = NULL; DWORD nbytesLow, nbytesHigh; - if (!PyArg_ParseTuple(args, "OiiO:UnlockFileEx", + if (!PyArg_ParseTuple(args, "OkkO:UnlockFileEx", &obhFile, // @pyparm <o PyHANDLE>/int|hFile||Handle to the file &nbytesLow, // @pyparm nbytesLow|int||low-order part of number of // bytes to lock |