summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ctbmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/ctbmodule.c')
-rw-r--r--Mac/Modules/ctbmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/ctbmodule.c b/Mac/Modules/ctbmodule.c
index 024787d..2c58019 100644
--- a/Mac/Modules/ctbmodule.c
+++ b/Mac/Modules/ctbmodule.c
@@ -269,7 +269,7 @@ ctbcm_write(self, args)
char *buf;
ConnectionCompletionUPP cb_upp = NewConnectionCompletionProc(ctbcm_ctbcallback);
- if (!PyArg_Parse(args, "(s#ili)", &buf, &ilen, &chan, &timeout, &flags))
+ if (!PyArg_Parse(args, "(m#ili)", &buf, &ilen, &chan, &timeout, &flags))
return NULL;
len = ilen;
if ((err=CMWrite(self->hdl, (Ptr)buf, &len, (CMChannel)chan,