diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp index 8d891644e9c0..ad99b2e659a2 100644 --- a/toolkit/xre/nsAppRunner.cpp +++ b/toolkit/xre/nsAppRunner.cpp @@ -1031,7 +1031,7 @@ XRE_GetBinaryPath(const char* argv0, nsILocalFile* *aResult) return NS_ERROR_FAILURE; } - nsresult rv = lfm->InitWithFSRef(fileRef); + rv = lfm->InitWithFSRef(&fileRef); CFRelease(bundleURL); if (NS_FAILED(rv))