summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macmodule.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-02-24 13:56:59 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-02-24 13:56:59 (GMT)
commit4a8c54e6d91549ae140970862d661dacf1112e31 (patch)
tree23703ecb8562e7301dd487ecb310bf4ad74cf802 /Mac/Modules/macmodule.c
parent6a528149dbed46723b8fc48c7b7cd21f9a727dff (diff)
downloadcpython-4a8c54e6d91549ae140970862d661dacf1112e31.zip
cpython-4a8c54e6d91549ae140970862d661dacf1112e31.tar.gz
cpython-4a8c54e6d91549ae140970862d661dacf1112e31.tar.bz2
- Changed GestaltEqu.h to Gestalt.h
- Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit)
Diffstat (limited to 'Mac/Modules/macmodule.c')
-rw-r--r--Mac/Modules/macmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/macmodule.c b/Mac/Modules/macmodule.c
index 49c0f8b..8de3c91 100644
--- a/Mac/Modules/macmodule.c
+++ b/Mac/Modules/macmodule.c
@@ -567,7 +567,7 @@ mac_write(self, args)
{
int fd, size;
char *buffer;
- if (!PyArg_Parse(args, "(is#)", &fd, &buffer, &size))
+ if (!PyArg_Parse(args, "(im#)", &fd, &buffer, &size))
return NULL;
Py_BEGIN_ALLOW_THREADS
size = write(fd, buffer, size);