diff options
Diffstat (limited to 'source/core/slang-castable-util.cpp')
| -rw-r--r-- | source/core/slang-castable-util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-castable-util.cpp b/source/core/slang-castable-util.cpp index 408e36cb3..38652d47b 100644 --- a/source/core/slang-castable-util.cpp +++ b/source/core/slang-castable-util.cpp @@ -9,7 +9,7 @@ namespace Slang { { SLANG_ASSERT(unk); ComPtr<ICastable> castable; - if (SLANG_SUCCEEDED(unk->queryInterface(ICastable::getTypeGuid(), (void**)castable.writeRef()))) + if (SLANG_SUCCEEDED(unk->queryInterface(SLANG_IID_PPV_ARGS(castable.writeRef())))) { SLANG_ASSERT(castable); } |
