diff --git a/xpcom/io/nsLocalFileMac.cpp b/xpcom/io/nsLocalFileMac.cpp index 4eea3b38d4d2..3def254eb9b7 100644 --- a/xpcom/io/nsLocalFileMac.cpp +++ b/xpcom/io/nsLocalFileMac.cpp @@ -667,7 +667,7 @@ static void myPLstrncpy(Str255 dst, const char* src, int inMax) static const char* TruncNodeName(const char *aNode, char *outBuf) { PRUint32 nodeLen; - if ((nodeLen = nsCRT::strlen(aNode)) > 31) + if ((nodeLen = strlen(aNode)) > 31) { static PRBool sInitialized = PR_FALSE; static CharByteTable sTable;