diff --git a/libs/jit/source/arch/macos_aarch64/compiler.cpp b/libs/jit/source/arch/macos_aarch64/compiler.cpp index 45a9e54..02ef5d8 100644 --- a/libs/jit/source/arch/macos_aarch64/compiler.cpp +++ b/libs/jit/source/arch/macos_aarch64/compiler.cpp @@ -666,7 +666,7 @@ namespace pslang::jit::macos_aarch64 load(node.arg1, 0); if (types::is_integer_type(*dst_type)) { - extend(0, dst_type); + extend(0, src_type); } else if (types::is_floating_point_type(*dst_type)) {