зеркало из https://github.com/mozilla/gecko-dev.git
Fix build bustage. needed a typecast in some cases, but not others.
This commit is contained in:
Родитель
20185227fc
Коммит
e5d4c38a9a
|
@ -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); \
|
||||
|
|
Загрузка…
Ссылка в новой задаче