From 0bbc3eadb9df1bcf36731c7cea9e7162fcff0dc7 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Thu, 1 Sep 2016 11:04:47 +0900 Subject: [PATCH] Type cast the pointer for arm64 build Change-Id: Idbcfa61c832763fccc541caab134e0a7fb9b1386 Signed-off-by: DoHyun Pyun --- test/bt_unit_test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/bt_unit_test.c b/test/bt_unit_test.c index 8676341..13454c9 100644 --- a/test/bt_unit_test.c +++ b/test/bt_unit_test.c @@ -3972,7 +3972,11 @@ int test_set_params(int test_id, char *param) if (param_index == g_test_param.param_count) { need_to_set_params = false; +#ifdef ARCH64 + test_input_callback((void *)(uintptr_t)test_id); +#else test_input_callback((void *)test_id); +#endif param_index = 0; return 0; } -- 2.34.1