Making string conversions explicit.
This commit is contained in:
@@ -997,7 +997,7 @@ nsLocalFile::GetParent(nsIFile **aParent)
|
||||
|
||||
CHECK_mPath();
|
||||
|
||||
nsCString parentPath = nsAutoString(mPath);
|
||||
nsCString parentPath = NS_STATIC_CAST(const char*, mPath);
|
||||
|
||||
// check to see whether or not we need to cut off any trailing
|
||||
// slashes
|
||||
|
||||
Reference in New Issue
Block a user