aboutsummaryrefslogtreecommitdiff
path: root/tests/ldxi_i16.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ldxi_i16.c')
-rw-r--r--tests/ldxi_i16.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ldxi_i16.c b/tests/ldxi_i16.c
index e2af936..8fd1d0a 100644
--- a/tests/ldxi_i16.c
+++ b/tests/ldxi_i16.c
@@ -16,9 +16,9 @@ int main()
ejit_select_compile_func(f, 1, 0, EJIT_USE64(long), do_jit);
- assert(erf1(f, EJIT_ARG(0, long)) == -1);
- assert(erf1(f, EJIT_ARG(1, long)) == 0);
- assert(erf1(f, EJIT_ARG(2, long)) == 0x4242);
+ assert(erf1(f, EJIT_ARG(sizeof(int16_t) * 0, long)) == -1);
+ assert(erf1(f, EJIT_ARG(sizeof(int16_t) * 1, long)) == 0);
+ assert(erf1(f, EJIT_ARG(sizeof(int16_t) * 2, long)) == 0x4242);
ejit_destroy_func(f);
}