mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Fixing solaris, AGAIN. jst,mcafee
This commit is contained in:
parent
2ec879cf41
commit
5a988f63a5
@ -507,7 +507,7 @@ nsXULCommandDispatcher::Matches(const nsString& aList,
|
||||
if (aList.Equals(NS_LITERAL_STRING("*")))
|
||||
return PR_TRUE; // match _everything_!
|
||||
|
||||
PRInt32 indx = aList.Find(nsPromiseFlatString(aElement));
|
||||
PRInt32 indx = aList.Find((const PRUnichar *)nsPromiseFlatString(aElement));
|
||||
if (indx == -1)
|
||||
return PR_FALSE; // not in the list at all
|
||||
|
||||
|
@ -507,7 +507,7 @@ nsXULCommandDispatcher::Matches(const nsString& aList,
|
||||
if (aList.Equals(NS_LITERAL_STRING("*")))
|
||||
return PR_TRUE; // match _everything_!
|
||||
|
||||
PRInt32 indx = aList.Find(nsPromiseFlatString(aElement));
|
||||
PRInt32 indx = aList.Find((const PRUnichar *)nsPromiseFlatString(aElement));
|
||||
if (indx == -1)
|
||||
return PR_FALSE; // not in the list at all
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user