diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2006-04-19 17:39:41 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2006-04-19 17:39:41 +0000 |
commit | 86c6e7855b1ae223e942128906f51e5d7166a701 (patch) | |
tree | 9a2420395071b159d9e22d107144ae064ba48242 /externals/grill/py/source | |
parent | 592c2d0ec1530d5a06d16b8d96fd5ca694d7864c (diff) |
small fixes for Max/OSX
fix for gcc4
svn path=/trunk/; revision=4938
Diffstat (limited to 'externals/grill/py/source')
-rw-r--r-- | externals/grill/py/source/pybase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/grill/py/source/pybase.cpp b/externals/grill/py/source/pybase.cpp index ffe54852..5c9dd40c 100644 --- a/externals/grill/py/source/pybase.cpp +++ b/externals/grill/py/source/pybase.cpp @@ -357,7 +357,7 @@ void pybase::OpenEditor() #elif FLEXT_OS == FLEXT_OS_MAC
FSRef ref;
- OSStatus err = FSPathMakeRef(fname,&ref,NULL);
+ OSStatus err = FSPathMakeRef((unsigned char *)fname,&ref,NULL);
if(err)
post("py/pyext - Error interpreting path %s",fname);
else {
@@ -365,7 +365,7 @@ void pybase::OpenEditor() err = LSGetApplicationForItem(&ref,kLSRolesEditor,&editor,NULL);
if(err) {
// Can't find associated application... try Textedit
- err = FSPathMakeRef("/Applications/TextEdit.app",&editor,NULL);
+ err = FSPathMakeRef((unsigned char *)"/Applications/TextEdit.app",&editor,NULL);
if(err)
post("py/pyext - Can't find Textedit application");
}
|