зеркало из https://github.com/mozilla/pjs.git
gcc 4 Thunderbird fixes for Mac OS X. Patch by Mark Mentovai. b=297619 r=peterv r=josh sr=peterv a=dbaron
This commit is contained in:
Родитель
857ef36ea3
Коммит
2f348493d6
|
@ -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));
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче