diff options
| author | Yong He <yonghe@outlook.com> | 2024-11-15 00:37:58 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-15 00:37:58 -0800 |
| commit | 05903f708856a70d68bf41bbfb2b06620508dee0 (patch) | |
| tree | 7255325656c16f02652c83f2c4111b29ba503913 /source/slang/slang-ast-type.cpp | |
| parent | f0bc4642a563e2318634b38a5a7ac2c3ddd68917 (diff) | |
Embed core module in wasm build. (#5569)
* Embed core module in wasm build.
* format code
* add uintptr_t case.
---------
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'source/slang/slang-ast-type.cpp')
| -rw-r--r-- | source/slang/slang-ast-type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ast-type.cpp b/source/slang/slang-ast-type.cpp index 7e4777a76..23d89957a 100644 --- a/source/slang/slang-ast-type.cpp +++ b/source/slang/slang-ast-type.cpp @@ -706,7 +706,7 @@ Val* ExpandType::_substituteImplOverride(ASTBuilder* astBuilder, SubstitutionSet ShortList<Type*> expandedTypes; SLANG_ASSERT(capturedPacks.getCount() != 0); - for (Index i = 0; i < concreteTypePacks[0]->getTypeCount(); i++) + for (int i = 0; i < (int)concreteTypePacks[0]->getTypeCount(); i++) { subst.packExpansionIndex = i; auto substElementType = getPatternType()->substituteImpl(astBuilder, subst, &diff); |
