Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit abd703d

Browse files
committed
FindFolder argument is a short, not an unsigned short.
1 parent 06646a1 commit abd703d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mac/Modules/macfsmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ mfs_FindFolder(self, args)
884884
short refnum;
885885
long dirid;
886886

887-
if (!PyArg_ParseTuple(args, "HO&i", &where, PyMac_GetOSType, &which, &create) )
887+
if (!PyArg_ParseTuple(args, "hO&i", &where, PyMac_GetOSType, &which, &create) )
888888
return NULL;
889889
err = FindFolder(where, which, (Boolean)create, &refnum, &dirid);
890890
if ( err ) {

0 commit comments

Comments
 (0)