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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user