mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Nasty error: handle parameters are passed by _address_ to SetControlData.
This commit is contained in:
parent
1c252bfe39
commit
f7ac1d32f0
2 changed files with 2 additions and 2 deletions
|
@ -350,7 +350,7 @@ _err = SetControlData(_self->ob_itself,
|
|||
inPart,
|
||||
inTagName,
|
||||
sizeof(buffer),
|
||||
(Ptr)buffer);
|
||||
(Ptr)&buffer);
|
||||
|
||||
if (_err != noErr)
|
||||
return PyMac_Error(_err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue