diff --git a/layout/generic/nsObjectFrame.cpp b/layout/generic/nsObjectFrame.cpp index b1298379eb32..ed7de6005295 100644 --- a/layout/generic/nsObjectFrame.cpp +++ b/layout/generic/nsObjectFrame.cpp @@ -1790,7 +1790,7 @@ nsObjectFrame::PaintPlugin(nsIRenderingContext& aRenderingContext, NPEvent pluginEvent; pluginEvent.event = WM_WINDOWPOSCHANGED; pluginEvent.wParam = 0; - pluginEvent.lParam = (uint32)&winpos; + pluginEvent.lParam = (LPARAM)&winpos; inst->HandleEvent(&pluginEvent, nsnull); }