add a cast to fix build problems on the ports tinderboxes.

git-svn-id: svn://10.0.0.236/trunk@24617 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%pavlov.net
1999-03-21 15:42:44 +00:00
parent c306da3732
commit 7008c2edf9
2 changed files with 2 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ void nsFileSpec::operator += (const char* inRelativePath)
if (!inRelativePath || mPath.IsEmpty())
return;
char endChar = mPath[strlen(mPath) - 1];
char endChar = mPath[(int)(strlen(mPath) - 1)];
if (endChar == '/')
mPath += "x";
else