diff options
Diffstat (limited to 'src/llvm_backend.cpp')
| -rw-r--r-- | src/llvm_backend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp index dbc059d5f..687423c63 100644 --- a/src/llvm_backend.cpp +++ b/src/llvm_backend.cpp @@ -9819,7 +9819,7 @@ lbValue lb_build_builtin_proc(lbProcedure *p, Ast *expr, TypeAndValue const &tv, lbValue x = lb_emit_conv(p, lb_build_expr(p, ce->args[0]), platform_type); lbValue y = lb_emit_conv(p, lb_build_expr(p, ce->args[1]), platform_type); - lbValue scale = lb_emit_conv(p, lb_build_expr(p, ce->args[2]), platform_type); + lbValue scale = lb_emit_conv(p, lb_build_expr(p, ce->args[2]), t_i32); char const *name = nullptr; if (is_type_unsigned(tv.type)) { |