From e56242ca6254040a2d21c355b81dab25e24df4ca Mon Sep 17 00:00:00 2001 From: lisyarus Date: Wed, 29 Jul 2026 16:28:40 +0300 Subject: [PATCH] Fix macos_aarch64 backend integer casts --- libs/jit/source/arch/macos_aarch64/compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {