]> granicus.if.org Git - python/commitdiff
FindFolder argument is a short, not an unsigned short.
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 15 Mar 2001 14:38:10 +0000 (14:38 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 15 Mar 2001 14:38:10 +0000 (14:38 +0000)
Mac/Modules/macfsmodule.c

index ca8b767e3ff7f104d03460072f22874b0f87d3e8..744a091205f6185141caaee439f938e1abaf5bd2 100644 (file)
@@ -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 ) {