From 86c6e7855b1ae223e942128906f51e5d7166a701 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 19 Apr 2006 17:39:41 +0000 Subject: small fixes for Max/OSX fix for gcc4 svn path=/trunk/; revision=4938 --- externals/grill/py/source/pybase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'externals/grill/py') 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"); } -- cgit v1.2.1