diff options
Diffstat (limited to 'source/compiler-core/slang-slice-allocator.cpp')
| -rw-r--r-- | source/compiler-core/slang-slice-allocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler-core/slang-slice-allocator.cpp b/source/compiler-core/slang-slice-allocator.cpp index 9a0620ced..738bdf303 100644 --- a/source/compiler-core/slang-slice-allocator.cpp +++ b/source/compiler-core/slang-slice-allocator.cpp @@ -39,7 +39,7 @@ namespace Slang { // See if it has a castable interface ComPtr<ICastable> castable; - if (SLANG_SUCCEEDED(blob->queryInterface(ICastable::getTypeGuid(), (void**)castable.writeRef()))) + if (SLANG_SUCCEEDED(blob->queryInterface(SLANG_IID_PPV_ARGS(castable.writeRef())))) { if (castable->castAs(SlangTerminatedChars::getTypeGuid())) { |
