From 4c6b5e45b0b1b38860963e9055e380e0939e9786 Mon Sep 17 00:00:00 2001 From: "reed@reedloden.com" Date: Wed, 13 Feb 2008 03:45:22 -0800 Subject: [PATCH] Add missing parentheses to complete cast and fix bustage. --- content/base/src/nsDOMAttributeMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/base/src/nsDOMAttributeMap.h b/content/base/src/nsDOMAttributeMap.h index 4c547765f78..359ab2c984a 100644 --- a/content/base/src/nsDOMAttributeMap.h +++ b/content/base/src/nsDOMAttributeMap.h @@ -105,7 +105,7 @@ public: if (!aKey) return 0; - return PR_ROTATE_LEFT32(static_castaKey->mNamespaceID, 4) ^ + return PR_ROTATE_LEFT32(static_cast(aKey->mNamespaceID), 4) ^ NS_PTR_TO_INT32(aKey->mLocalName); } enum { ALLOW_MEMMOVE = PR_TRUE };