fixing solaris bustage

This commit is contained in:
darin%netscape.com 2002-04-27 09:02:53 +00:00
parent aed4094987
commit 4d2baf8913

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)
{