зеркало из https://github.com/mozilla/gecko-dev.git
Fix HPUX bustage. (It's right, as always. I can't static_cast to an incomplete class.)
This commit is contained in:
Родитель
7acc78d086
Коммит
76bec44a9f
|
@ -392,7 +392,7 @@ private:
|
|||
return (PRWord(mChildrenTaggedPtr) & kTypeMask) == kHashType;
|
||||
}
|
||||
nsRuleList* ChildrenList() {
|
||||
return NS_STATIC_CAST(nsRuleList*, mChildrenTaggedPtr);
|
||||
return NS_REINTERPRET_CAST(nsRuleList*, mChildrenTaggedPtr);
|
||||
}
|
||||
PLDHashTable* ChildrenHash() {
|
||||
return (PLDHashTable*) (PRWord(mChildrenTaggedPtr) & ~PRWord(kTypeMask));
|
||||
|
|
|
@ -392,7 +392,7 @@ private:
|
|||
return (PRWord(mChildrenTaggedPtr) & kTypeMask) == kHashType;
|
||||
}
|
||||
nsRuleList* ChildrenList() {
|
||||
return NS_STATIC_CAST(nsRuleList*, mChildrenTaggedPtr);
|
||||
return NS_REINTERPRET_CAST(nsRuleList*, mChildrenTaggedPtr);
|
||||
}
|
||||
PLDHashTable* ChildrenHash() {
|
||||
return (PLDHashTable*) (PRWord(mChildrenTaggedPtr) & ~PRWord(kTypeMask));
|
||||
|
|
Загрузка…
Ссылка в новой задаче