From a11a776642ebcb69924ff79e3c5aebdf9f9e08ff Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Wed, 2 Oct 2024 18:45:44 -0700 Subject: Fix the broken CI (#5216) The type of `sizeof` has to be int not uint. --- source/slang/slang-ir.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/slang/slang-ir.cpp') diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp index c12ad0f68..f0e7773c6 100644 --- a/source/slang/slang-ir.cpp +++ b/source/slang/slang-ir.cpp @@ -5982,7 +5982,7 @@ namespace Slang auto inst = createInst( this, kIROp_SizeOf, - getUIntType(), + getIntType(), sizedType); addInst(inst); return inst; @@ -5994,7 +5994,7 @@ namespace Slang auto inst = createInst( this, kIROp_AlignOf, - getUIntType(), + getIntType(), sizedType); addInst(inst); return inst; -- cgit v1.2.3