diff --git a/profile/pref-migrator/src/nsPrefMigration.cpp b/profile/pref-migrator/src/nsPrefMigration.cpp index 44c9acbe9d7b..e1fecc998a90 100644 --- a/profile/pref-migrator/src/nsPrefMigration.cpp +++ b/profile/pref-migrator/src/nsPrefMigration.cpp @@ -931,7 +931,7 @@ nsPrefMigration::GetDirFromPref(nsIFileSpec * oldProfilePath, nsIFileSpec * newP // should we let them? no. let's migrate them to // /Mail and /ImapMail // let's make all three platforms the same. - rv = (newPath->FromFileSpec(newProfilePath); + rv = newPath->FromFileSpec(newProfilePath); if (NS_FAILED(rv)) return rv; rv = newPath->AppendRelativeUnixPath(newDirName); if (NS_FAILED(rv)) return rv;