summaryrefslogtreecommitdiff
path: root/source/slang/slang-ast-val.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-11-15 00:37:58 -0800
committerGitHub <noreply@github.com>2024-11-15 00:37:58 -0800
commit05903f708856a70d68bf41bbfb2b06620508dee0 (patch)
tree7255325656c16f02652c83f2c4111b29ba503913 /source/slang/slang-ast-val.cpp
parentf0bc4642a563e2318634b38a5a7ac2c3ddd68917 (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-val.cpp')
-rw-r--r--source/slang/slang-ast-val.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ast-val.cpp b/source/slang/slang-ast-val.cpp
index fdb7e6990..98135ef16 100644
--- a/source/slang/slang-ast-val.cpp
+++ b/source/slang/slang-ast-val.cpp
@@ -364,7 +364,7 @@ Val* ExpandSubtypeWitness::_substituteImplOverride(
// If sub is substituted into a concrete type pack, we should return a
// TypePackSubtypeWitness.
ShortList<SubtypeWitness*> newWitnesses;
- for (Index i = 0; i < subTypePack->getTypeCount(); i++)
+ for (int i = 0; i < (int)subTypePack->getTypeCount(); i++)
{
auto elementType = subTypePack->getElementType(i);
subst.packExpansionIndex = i;