PRUnichar* start = (PRUnichar*)(const PRUnichar*)aString.GetUnicode();
PRUnichar* start = (PRUnichar*)(const PRUnichar*)aString.get();
SplitString(nsString&    aString, // [IN/OUT]            nsVoidArray& aOffset) // [OUT]{  static const PRUnichar kNullCh = PRUnichar('\0');  aString.Append(kNullCh);  // put an extra null at the end  PRUnichar* start = (PRUnichar*)(const PRUnichar*)aString.GetUnicode();  PRUnichar* end   = start;  while (kNullCh != *start) {    while ((kNullCh != *start) && nsCRT::IsAsciiSpace(*start)) {  // skip leading space      start++;    }    end = start;    while ((kNullCh != *end) && (PR_FALSE == nsCRT::IsAsciiSpace(*end))) { // look for space or end      end++;    }    *end = kNullCh; // end string here    if (start < end) {      aOffset.AppendElement(start); // record the beginning of this segment    }    start = ++end;  }}