mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
FindFolder argument is a short, not an unsigned short.
This commit is contained in:
parent
06646a1be0
commit
abd703d0ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue