diff --git a/xpcom/io/nsFileSpecBeOS.cpp b/xpcom/io/nsFileSpecBeOS.cpp index 0e4dae9373a..b24d0897314 100644 --- a/xpcom/io/nsFileSpecBeOS.cpp +++ b/xpcom/io/nsFileSpecBeOS.cpp @@ -166,7 +166,7 @@ nsresult nsFileSpec::ResolveSymlink(PRBool& wasAliased) SetLeafName(resolvedPath); } else { - mPath = (char*)&resolvedPath; + mPath = (char*)resolvedPath; } BEntry e((const char *)mPath, true); // traverse symlink