gcc 4 Thunderbird fixes for Mac OS X. Patch by Mark Mentovai. b=297619 r=peterv r=josh sr=peterv a=dbaron
git-svn-id: svn://10.0.0.236/trunk@174621 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5c30640687
commit
0bf366660e
@ -218,7 +218,7 @@ typedef struct _appledouble_decode_object
|
||||
PR_BEGIN_EXTERN_C
|
||||
|
||||
int ap_encode_init(appledouble_encode_object *p_ap_encode_obj,
|
||||
char* fname,
|
||||
const char* fname,
|
||||
char* separator);
|
||||
|
||||
int ap_encode_next(appledouble_encode_object* p_ap_encode_obj,
|
||||
|
||||
@ -133,8 +133,8 @@ MacGetFileType(nsFileSpec *fs,
|
||||
* Setup the encode envirment
|
||||
*/
|
||||
|
||||
int ap_encode_init( appledouble_encode_object *p_ap_encode_obj,
|
||||
char *fname,
|
||||
int ap_encode_init( appledouble_encode_object *p_ap_encode_obj,
|
||||
const char *fname,
|
||||
char *separator)
|
||||
{
|
||||
FSSpec fspec;
|
||||
@ -146,7 +146,7 @@ int ap_encode_init( appledouble_encode_object *p_ap_encode_obj,
|
||||
#if defined(XP_MAC)
|
||||
fspec = mySpec.GetFSSpec();
|
||||
#else
|
||||
FSPathMakeFSSpec((UInt8 *)fname, &fspec, NULL);
|
||||
FSPathMakeFSSpec((const UInt8 *)fname, &fspec, NULL);
|
||||
#endif
|
||||
memset(p_ap_encode_obj, 0, sizeof(appledouble_encode_object));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user