Fixing solaris, AGAIN. jst,mcafee

This commit is contained in:
cltbld%netscape.com 2000-08-23 22:26:35 +00:00
parent 2ec879cf41
commit 5a988f63a5
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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