diff options
Diffstat (limited to 'source/core/slang-lazy-castable-list.cpp')
| -rw-r--r-- | source/core/slang-lazy-castable-list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-lazy-castable-list.cpp b/source/core/slang-lazy-castable-list.cpp index 1832a67f4..112172108 100644 --- a/source/core/slang-lazy-castable-list.cpp +++ b/source/core/slang-lazy-castable-list.cpp @@ -150,7 +150,7 @@ Index LazyCastableList::indexOfUnknown(ISlangUnknown* unk) const // Try as a ICastable first { ComPtr<ICastable> castable; - if (SLANG_SUCCEEDED(unk->queryInterface(ICastable::getTypeGuid(), (void**)castable.writeRef())) && castable) + if (SLANG_SUCCEEDED(unk->queryInterface(SLANG_IID_PPV_ARGS(castable.writeRef()))) && castable) { return indexOf(castable); } |
