Fix 64bit build error 46/220846/1 accepted/tizen/unified/20191226.123032 submit/tizen/20191223.225501
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 24 Dec 2019 02:34:24 +0000 (11:34 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 24 Dec 2019 02:34:24 +0000 (11:34 +0900)
Change-Id: I9684ef25fe4aab33e55d811aa52430ed52c87ee8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
test/hid_keyboard.c

index 0b6fb0d..9ef7277 100644 (file)
@@ -576,7 +576,11 @@ static int key_code = 0x01;
 static int __bt_test_input_callback(void *data)
 {
        int ret = 0;
+#ifdef ARCH64
+       int test_id = (uintptr_t)data;
+#else
        int test_id = (int)data;
+#endif
        bt_hid_key_data_s send_data;
        char pressedkey[8] = { 0x43, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00 };
        char pressedkey1[8] = { 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00 };