Added cast to get it to compile

This commit is contained in:
troy%netscape.com 1999-02-14 06:10:51 +00:00
parent 17c6b3b2fb
commit 07ce269f24
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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