From 9f6e22264d008cb03f484f9062b22e5f1fba5beb Mon Sep 17 00:00:00 2001 From: "darin%netscape.com" Date: Sat, 27 Apr 2002 09:02:53 +0000 Subject: [PATCH] fixing solaris bustage git-svn-id: svn://10.0.0.236/trunk@120107 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/nsLocalFileCommon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpcom/io/nsLocalFileCommon.cpp b/mozilla/xpcom/io/nsLocalFileCommon.cpp index 93f4950e78d..03b44685be8 100644 --- a/mozilla/xpcom/io/nsLocalFileCommon.cpp +++ b/mozilla/xpcom/io/nsLocalFileCommon.cpp @@ -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) {