mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
Fix 64-bit bustage. Bug 247629, patch by Sunil <funtoos@yahoo.com>, r=jshin,
sr=bzbarsky, a=chofmann
This commit is contained in:
parent
e86f704ac7
commit
fea8560b58
@ -96,7 +96,7 @@ static NS_DEFINE_CID(kCharSetManagerCID, NS_ICHARSETCONVERTERMANAGER_CID);
|
||||
// Define the FreeType2 functions we resolve at run time.
|
||||
// see the comment near nsFreeType2::DoneFace() for more info
|
||||
//
|
||||
#define NS_FT2_OFFSET(f) (int)&((nsFreeType2*)0)->f
|
||||
#define NS_FT2_OFFSET(f) (long)&((nsFreeType2*)0)->f
|
||||
FtFuncList nsFreeType2::FtFuncs [] = {
|
||||
{"FT_Done_Face", NS_FT2_OFFSET(nsFT_Done_Face), PR_TRUE},
|
||||
{"FT_Done_FreeType", NS_FT2_OFFSET(nsFT_Done_FreeType), PR_TRUE},
|
||||
|
@ -145,7 +145,7 @@ nsFreeTypeFace * nsFreeTypeGetFaceID(nsFontCatalogEntry *aFce);
|
||||
|
||||
typedef struct {
|
||||
const char *FuncName;
|
||||
int FuncOffset;
|
||||
long FuncOffset;
|
||||
const PRBool Required;
|
||||
} FtFuncList;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user