From 479cbd13b4cec98bea5172df048ec3f9e0ac7caf Mon Sep 17 00:00:00 2001 From: Mats Palmgren Date: Sat, 7 Mar 2009 18:08:47 +0100 Subject: [PATCH] Use the same type as mAttrAndChildCount when defining ATTRCHILD_ARRAY_MAX_CHILD_COUNT. b=480655 r+sr=jonas --- content/base/src/nsAttrAndChildArray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/base/src/nsAttrAndChildArray.h b/content/base/src/nsAttrAndChildArray.h index c365190183c..5223d8fac02 100644 --- a/content/base/src/nsAttrAndChildArray.h +++ b/content/base/src/nsAttrAndChildArray.h @@ -64,7 +64,7 @@ class nsMappedAttributeElement; ((1 << ATTRCHILD_ARRAY_ATTR_SLOTS_BITS) - 1) #define ATTRCHILD_ARRAY_MAX_CHILD_COUNT \ - (~PtrBits(0) >> ATTRCHILD_ARRAY_ATTR_SLOTS_BITS) + (~PRUint32(0) >> ATTRCHILD_ARRAY_ATTR_SLOTS_BITS) #define ATTRCHILD_ARRAY_ATTR_SLOTS_COUNT_MASK \ ((1 << ATTRCHILD_ARRAY_ATTR_SLOTS_BITS) - 1)