summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir.cpp')
-rw-r--r--source/slang/slang-ir.cpp4
1 files changed, 2 insertions, 2 deletions
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<IRInst>(
this,
kIROp_SizeOf,
- getUIntType(),
+ getIntType(),
sizedType);
addInst(inst);
return inst;
@@ -5994,7 +5994,7 @@ namespace Slang
auto inst = createInst<IRInst>(
this,
kIROp_AlignOf,
- getUIntType(),
+ getIntType(),
sizedType);
addInst(inst);
return inst;