From 05903f708856a70d68bf41bbfb2b06620508dee0 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 15 Nov 2024 00:37:58 -0800 Subject: 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> --- source/slang/slang-ast-val.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-ast-val.cpp') 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 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; -- cgit v1.2.3