summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/Modules/ctl/Ctlmodule.c2
-rw-r--r--Mac/Modules/ctl/ctlsupport.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/ctl/Ctlmodule.c b/Mac/Modules/ctl/Ctlmodule.c
index 3648a55..461d945 100644
--- a/Mac/Modules/ctl/Ctlmodule.c
+++ b/Mac/Modules/ctl/Ctlmodule.c
@@ -1196,7 +1196,7 @@ static PyObject *CtlObj_SetControlDataHandle(_self, _args)
if (!PyArg_ParseTuple(_args, "hO&O&",
&inPart,
PyMac_GetOSType, &inTagName,
- OptResObj_Convert, buffer))
+ OptResObj_Convert, &buffer))
return NULL;
_err = SetControlData(_self->ob_itself,
diff --git a/Mac/Modules/ctl/ctlsupport.py b/Mac/Modules/ctl/ctlsupport.py
index 8ac9d5c..9829dcd 100644
--- a/Mac/Modules/ctl/ctlsupport.py
+++ b/Mac/Modules/ctl/ctlsupport.py
@@ -343,7 +343,7 @@ Handle buffer;
if (!PyArg_ParseTuple(_args, "hO&O&",
&inPart,
PyMac_GetOSType, &inTagName,
- OptResObj_Convert, buffer))
+ OptResObj_Convert, &buffer))
return NULL;
_err = SetControlData(_self->ob_itself,