From db52c80337e093f36d59e802be2486733ed5c87d Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Sat, 26 Feb 2000 00:13:30 +0000 Subject: [PATCH] Explicitly cast mPath to const char* as some compilers can't automatically cast from nxXPIDLCString to char * . git-svn-id: svn://10.0.0.236/trunk@61705 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/nsLocalFileUnix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpcom/io/nsLocalFileUnix.cpp b/mozilla/xpcom/io/nsLocalFileUnix.cpp index 17eb646c27a..58c3c818c5f 100644 --- a/mozilla/xpcom/io/nsLocalFileUnix.cpp +++ b/mozilla/xpcom/io/nsLocalFileUnix.cpp @@ -421,7 +421,7 @@ nsLocalFile::Normalize() resolved_path_ptr = be_p.Path(); }; #else - resolved_path_ptr = realpath(mPath, resolved_path); + resolved_path_ptr = realpath((const char *)mPath, resolved_path); #endif // if there is an error, the return is null. if (resolved_path_ptr == NULL) {