diff --git a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp index 91f697c2759..642ea353840 100644 --- a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp @@ -370,7 +370,7 @@ nsresult nsWebShellWindow::Initialize(nsIWebShellWindow* aParent, } mWindow->SetClientData(this); - mWindow->Create(parentWidget, // Parent nsIWidget + mWindow->Create((nsIWidget *)parentWidget, // Parent nsIWidget r, // Widget dimensions nsWebShellWindow::HandleEvent, // Event handler function nsnull, // Device context