diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-07-07 13:09:35 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-07-07 13:09:35 (GMT) |
commit | 0b13e7c1531351452703d6b9770194e53a3d3f69 (patch) | |
tree | 0a4fc2efc2674b48cebfa7b1058776aa3ec841e8 /Mac/Modules/win/Winmodule.c | |
parent | 89d017d072cce9a3baee8861b10818a401127f08 (diff) | |
download | cpython-0b13e7c1531351452703d6b9770194e53a3d3f69.zip cpython-0b13e7c1531351452703d6b9770194e53a3d3f69.tar.gz cpython-0b13e7c1531351452703d6b9770194e53a3d3f69.tar.bz2 |
Changed all (hopefully) uses of unsigned 16 bit value to use H format specifier, now that h is signed-only.
Diffstat (limited to 'Mac/Modules/win/Winmodule.c')
-rw-r--r-- | Mac/Modules/win/Winmodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Modules/win/Winmodule.c b/Mac/Modules/win/Winmodule.c index ffd8b0b..2ad1d60 100644 --- a/Mac/Modules/win/Winmodule.c +++ b/Mac/Modules/win/Winmodule.c @@ -525,7 +525,7 @@ static PyObject *WinObj_GetWindowRegion(_self, _args) OSStatus _err; WindowRegionCode inRegionCode; RgnHandle ioWinRgn; - if (!PyArg_ParseTuple(_args, "hO&", + if (!PyArg_ParseTuple(_args, "HO&", &inRegionCode, ResObj_Convert, &ioWinRgn)) return NULL; @@ -1110,7 +1110,7 @@ static PyObject *WinObj_SetWindowBounds(_self, _args) OSStatus _err; WindowRegionCode regionCode; Rect globalBounds; - if (!PyArg_ParseTuple(_args, "hO&", + if (!PyArg_ParseTuple(_args, "HO&", ®ionCode, PyMac_GetRect, &globalBounds)) return NULL; @@ -1131,7 +1131,7 @@ static PyObject *WinObj_GetWindowBounds(_self, _args) OSStatus _err; WindowRegionCode regionCode; Rect globalBounds; - if (!PyArg_ParseTuple(_args, "h", + if (!PyArg_ParseTuple(_args, "H", ®ionCode)) return NULL; _err = GetWindowBounds(_self->ob_itself, |