From b3048c63609c0aae4a2a3eb160e932027f677612 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Sat, 12 Apr 2003 06:18:38 +0000 Subject: [PATCH] Fixing OS/2 bustage -- compiler is too dumb to tell that the void* version is _not_ what we want here... ;) --- layout/generic/nsObjectFrame.cpp | 2 +- layout/html/base/src/nsObjectFrame.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/generic/nsObjectFrame.cpp b/layout/generic/nsObjectFrame.cpp index 5f84fa9f902..9a8f2bd5085 100644 --- a/layout/generic/nsObjectFrame.cpp +++ b/layout/generic/nsObjectFrame.cpp @@ -1227,7 +1227,7 @@ nsObjectFrame::InstantiateWidget(nsIPresContext* aPresContext, nsCOMPtr parent; parentWithView->GetOffsetFromWidget(nsnull, nsnull, *getter_AddRefs(parent)); - mWidget->Create(parent, r, nsnull, nsnull); + mWidget->Create(NS_STATIC_CAST(nsIWidget*, parent), r, nsnull, nsnull); mWidget->Show(PR_TRUE); return rv; diff --git a/layout/html/base/src/nsObjectFrame.cpp b/layout/html/base/src/nsObjectFrame.cpp index 5f84fa9f902..9a8f2bd5085 100644 --- a/layout/html/base/src/nsObjectFrame.cpp +++ b/layout/html/base/src/nsObjectFrame.cpp @@ -1227,7 +1227,7 @@ nsObjectFrame::InstantiateWidget(nsIPresContext* aPresContext, nsCOMPtr parent; parentWithView->GetOffsetFromWidget(nsnull, nsnull, *getter_AddRefs(parent)); - mWidget->Create(parent, r, nsnull, nsnull); + mWidget->Create(NS_STATIC_CAST(nsIWidget*, parent), r, nsnull, nsnull); mWidget->Show(PR_TRUE); return rv;