Bug 239499 - 64bit safe code for mozilla/content (WinXP AMD64) part 2. r+sr/peterv

This commit is contained in:
Makoto Kato 2009-04-13 20:57:53 +09:00
parent d238162113
commit fce1dd538a
5 changed files with 5 additions and 5 deletions

View File

@ -49,7 +49,7 @@
#include "nsIAtom.h"
#include "nsDOMString.h"
typedef unsigned long PtrBits;
typedef PRUptrdiff PtrBits;
#define NS_ATTRNAME_NODEINFO_BIT 1
class nsAttrName

View File

@ -50,7 +50,7 @@
#include "nsColor.h"
#include "nsCaseTreatment.h"
typedef unsigned long PtrBits;
typedef PRUptrdiff PtrBits;
class nsAString;
class nsIAtom;
class nsICSSStyleRule;

View File

@ -184,7 +184,7 @@ class nsUint32ToContentHashEntry : public PLDHashEntryHdr
PRBool IsEmpty() { return mValOrHash == nsnull; }
private:
typedef unsigned long PtrBits;
typedef PRUptrdiff PtrBits;
typedef nsTHashtable<nsISupportsHashKey> HashSet;
/** Get the hash pointer (or null if we're not a hash) */
HashSet* GetHashSet()

View File

@ -84,7 +84,7 @@ class nsIScrollableView;
class nsContentList;
struct nsRect;
typedef unsigned long PtrBits;
typedef PRUptrdiff PtrBits;
/**
* Class that implements the nsIDOMNodeList interface (a list of children of

View File

@ -58,7 +58,7 @@
#include "nscore.h"
class nsIAtom;
typedef unsigned long PtrBits;
typedef PRUptrdiff PtrBits;
typedef void
(*NSPropertyFunc)(void *aObject,