mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Added cast to get it to compile
This commit is contained in:
parent
17c6b3b2fb
commit
07ce269f24
@ -691,7 +691,7 @@ static PRBool EnumerateString(const nsString& aStringList, nsStringEnumFunc aFun
|
||||
|
||||
stringList.Append(kNullCh); // put an extra null at the end
|
||||
|
||||
PRUnichar* start = (PRUnichar*)stringList;
|
||||
PRUnichar* start = (PRUnichar*)(const PRUnichar*)stringList;
|
||||
PRUnichar* end = start;
|
||||
|
||||
while (running && (kNullCh != *start)) {
|
||||
|
@ -691,7 +691,7 @@ static PRBool EnumerateString(const nsString& aStringList, nsStringEnumFunc aFun
|
||||
|
||||
stringList.Append(kNullCh); // put an extra null at the end
|
||||
|
||||
PRUnichar* start = (PRUnichar*)stringList;
|
||||
PRUnichar* start = (PRUnichar*)(const PRUnichar*)stringList;
|
||||
PRUnichar* end = start;
|
||||
|
||||
while (running && (kNullCh != *start)) {
|
||||
|
@ -691,7 +691,7 @@ static PRBool EnumerateString(const nsString& aStringList, nsStringEnumFunc aFun
|
||||
|
||||
stringList.Append(kNullCh); // put an extra null at the end
|
||||
|
||||
PRUnichar* start = (PRUnichar*)stringList;
|
||||
PRUnichar* start = (PRUnichar*)(const PRUnichar*)stringList;
|
||||
PRUnichar* end = start;
|
||||
|
||||
while (running && (kNullCh != *start)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user