Fix build bustage. needed a typecast in some cases, but not others.

This commit is contained in:
pinkerton%netscape.com 2000-01-26 23:17:53 +00:00
parent 20185227fc
commit e5d4c38a9a
2 changed files with 2 additions and 2 deletions

View File

@ -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); \

View File

@ -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); \