aCount = aDestLength;
aCount = PRInt32(aDestLength);
inline PRInt32 RFindChar1(const char* aDest,PRUint32 aDestLength,PRInt32 anOffset,const PRUnichar aChar,PRBool aIgnoreCase,PRInt32 aCount) {  if(anOffset<0)    anOffset=(PRInt32)aDestLength-1;  if(aCount<0)    aCount = aDestLength;  if((aChar<256) && (0<aDestLength) && ((PRUint32)anOffset<aDestLength)) {    //We'll only search if the given aChar is within the normal ascii a range,    //(Since this string is definitely within the ascii range).     if(0<aCount) {      const char* rightmost = aDest+anOffset;        const char* min       = rightmost-aCount+1;      const char* leftmost  = (min<aDest) ? aDest: min;      if(aIgnoreCase) {            char theChar=(char)nsCRT::ToUpper(aChar);        while(leftmost<rightmost){          if(nsCRT::ToUpper(*rightmost)==theChar)            return rightmost-aDest;          --rightmost;        }      }      else {        char theChar=(char)aChar;        while(leftmost<=rightmost){          if((*rightmost)==theChar)            return rightmost-aDest;          --rightmost;        }      }    }  }  return kNotFound;}