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
Родитель 20185227fc
Коммит e5d4c38a9a
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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

Просмотреть файл

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