Making string conversions explicit.
This commit is contained in:
@@ -997,7 +997,7 @@ nsLocalFile::GetParent(nsIFile **aParent)
|
|||||||
|
|
||||||
CHECK_mPath();
|
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
|
// check to see whether or not we need to cut off any trailing
|
||||||
// slashes
|
// slashes
|
||||||
|
|||||||
Reference in New Issue
Block a user