mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Yet another Pstring()
This commit is contained in:
parent
5ef86d55b5
commit
c39f4f8968
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ unlink(old)
|
|||
{
|
||||
OSErr err;
|
||||
|
||||
if ((err=FSDelete(c2pstr(old), 0)) == noErr)
|
||||
if ((err=FSDelete((ConstStr255Param)Pstring(old), 0)) == noErr)
|
||||
return 0;
|
||||
errno= err;
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue