PRUnichar c2 = kIsoLatin1ToUCS2_2[*(const unsigned char*)s2++];
PRUnichar c2 = PRUnichar((unsigned char)*s2++);
PRInt32 Compare2To1(const PRUnichar* aStr1,const char* aStr2,PRUint32 aCount,PRBool aIgnoreCase){#ifndef XPCOM_STANDALONE  const PRUnichar* s1 = aStr1;  const char *s2 = aStr2;    if (aIgnoreCase && NS_FAILED(NS_InitCaseConversion()))      aIgnoreCase=PR_FALSE;    if (aStr1 && aStr2) {    if (aCount != 0) {      do {        PRUnichar c1 = *s1++;        PRUnichar c2 = kIsoLatin1ToUCS2_2[*(const unsigned char*)s2++];                if (c1 != c2) {          if (aIgnoreCase) {                        // case insensitive comparison            gCaseConv->ToLower(c1, &c1);            gCaseConv->ToLower(c2, &c2);            if (c1 == c2) continue;          }          if (c1 < c2) return -1;          return 1;        }      } while (--aCount);    }  }#else  NS_ERROR("call not supported in XPCOM_STANDALONE");#endif  return 0;}