fixing solaris bustage

git-svn-id: svn://10.0.0.236/trunk@120107 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%netscape.com
2002-04-27 09:02:53 +00:00
parent 64e0b0e925
commit 9f6e22264d

View File

@@ -85,7 +85,7 @@ nsLocalFile::CreateUnique(PRUint32 type, PRUint32 attributes)
if (NS_FAILED(rv)) return rv;
char* lastDot = strrchr(leafName.get(), '.');
const char* lastDot = strrchr(leafName.get(), '.');
char suffix[kMaxFilenameLength + 1] = "";
if (lastDot)
{