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:
cls%seawood.org
2000-02-26 00:13:30 +00:00
parent 3fbc3d2ab7
commit db52c80337

View File

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