mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
fixing solaris bustage
This commit is contained in:
parent
aed4094987
commit
4d2baf8913
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user