From e5d4c38a9acb58a9eb3e3fd24e34f3a5022af93a Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Wed, 26 Jan 2000 23:17:53 +0000 Subject: [PATCH] Fix build bustage. needed a typecast in some cases, but not others. --- xpcom/base/nsISupportsUtils.h | 2 +- xpcom/glue/nsISupportsUtils.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xpcom/base/nsISupportsUtils.h b/xpcom/base/nsISupportsUtils.h index 47d3ec46add7..a75209d13381 100644 --- a/xpcom/base/nsISupportsUtils.h +++ b/xpcom/base/nsISupportsUtils.h @@ -267,7 +267,7 @@ NS_IMETHODIMP _class::QueryInterface(REFNSIID aIID, void** aInstancePtr) \ foundInterface = 0; \ nsresult status; \ if ( !foundInterface ) \ - status = _baseclass::QueryInterface(aIID, &foundInterface); \ + status = _baseclass::QueryInterface(aIID, (void**)&foundInterface); \ else \ { \ NS_ADDREF(foundInterface); \ diff --git a/xpcom/glue/nsISupportsUtils.h b/xpcom/glue/nsISupportsUtils.h index 47d3ec46add7..a75209d13381 100644 --- a/xpcom/glue/nsISupportsUtils.h +++ b/xpcom/glue/nsISupportsUtils.h @@ -267,7 +267,7 @@ NS_IMETHODIMP _class::QueryInterface(REFNSIID aIID, void** aInstancePtr) \ foundInterface = 0; \ nsresult status; \ if ( !foundInterface ) \ - status = _baseclass::QueryInterface(aIID, &foundInterface); \ + status = _baseclass::QueryInterface(aIID, (void**)&foundInterface); \ else \ { \ NS_ADDREF(foundInterface); \