Bug 382321 fix compiler warningsr=aaronleventhal
authorginn.chen@sun.com
Mon, 11 Jun 2007 02:46:39 -0700
changeset 2265 3f281247b50ec74ac890113768fa84d8982a03d3
parent 2264 8053c41f4f2b28955da17e15485a782c349df934
child 2266 7fd2e962929d4506f978074f1b5f3c16fbf902c5
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs382321
milestone1.9a6pre
Bug 382321 fix compiler warningsr=aaronleventhal
accessible/src/base/nsARIAMap.h
--- a/accessible/src/base/nsARIAMap.h
+++ b/accessible/src/base/nsARIAMap.h
@@ -65,20 +65,20 @@ enum ENameRule
 // Is nsIAccessible value supported for this role or not?
 enum EValueRule
 {
   eNoValue,
   eHasValueMinMax    // Supports value, min and max from aaa:valuenow, valuemin and valuemax
 };
 
 // Used for an nsStateMapEntry if a given state attribute supports "true" and "false"
-static const char *kBoolState = 0;
+#define kBoolState 0
 
 // Used in nsRoleMapEntry.state if no nsIAccessibleStates are automatic for a given role
-static const PRUint32 kNoReqStates = 0;
+#define kNoReqStates 0
 
 // For this name and value pair, what is the nsIAccessibleStates mapping.
 // nsStateMapEntry.state
 struct nsStateMapEntry
 {
   const char* attributeName;  // magic value of nsnull means last entry in map
   const char* attributeValue; // magic value of kBoolState (0) means supports "true" and "false"
   PRUint32 state;             // If match, this is the nsIAccessibleStates to map to