From: Jack Jansen Date: Thu, 15 Mar 2001 14:38:10 +0000 (+0000) Subject: FindFolder argument is a short, not an unsigned short. X-Git-Tag: v2.1b2~165 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abd703d0ce4d793aa9432826dbea1d8dcc68f63d;p=python FindFolder argument is a short, not an unsigned short. --- diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c index ca8b767e3f..744a091205 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 ) {