diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-03-15 14:38:10 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-03-15 14:38:10 (GMT) |
commit | abd703d0ce4d793aa9432826dbea1d8dcc68f63d (patch) | |
tree | 95ae4b499e3d9c28b77bae82ed6583c4993809a2 | |
parent | 06646a1be0afada3c50337441f10ec78080d584d (diff) | |
download | cpython-abd703d0ce4d793aa9432826dbea1d8dcc68f63d.zip cpython-abd703d0ce4d793aa9432826dbea1d8dcc68f63d.tar.gz cpython-abd703d0ce4d793aa9432826dbea1d8dcc68f63d.tar.bz2 |
FindFolder argument is a short, not an unsigned short.
-rw-r--r-- | Mac/Modules/macfsmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c index ca8b767..744a091 100644 --- a/Mac/Modules/macfsmodule.c +++ b/Mac/Modules/macfsmodule.c @@ -884,7 +884,7 @@ mfs_FindFolder(self, args) short refnum; long dirid; - if (!PyArg_ParseTuple(args, "HO&i", &where, PyMac_GetOSType, &which, &create) ) + if (!PyArg_ParseTuple(args, "hO&i", &where, PyMac_GetOSType, &which, &create) ) return NULL; err = FindFolder(where, which, (Boolean)create, &refnum, &dirid); if ( err ) { |