Fixing OS/2 bustage -- compiler is too dumb to tell that the void* version is

_not_ what we want here... ;)
This commit is contained in:
bzbarsky%mit.edu 2003-04-12 06:18:38 +00:00
parent 48eaa50cb5
commit fa96270367
2 changed files with 2 additions and 2 deletions

View File

@ -1227,7 +1227,7 @@ nsObjectFrame::InstantiateWidget(nsIPresContext* aPresContext,
nsCOMPtr<nsIWidget> parent; nsCOMPtr<nsIWidget> parent;
parentWithView->GetOffsetFromWidget(nsnull, nsnull, *getter_AddRefs(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); mWidget->Show(PR_TRUE);
return rv; return rv;

View File

@ -1227,7 +1227,7 @@ nsObjectFrame::InstantiateWidget(nsIPresContext* aPresContext,
nsCOMPtr<nsIWidget> parent; nsCOMPtr<nsIWidget> parent;
parentWithView->GetOffsetFromWidget(nsnull, nsnull, *getter_AddRefs(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); mWidget->Show(PR_TRUE);
return rv; return rv;