From 71749a7b3cbb642c51860410185ce1b5646dff00 Mon Sep 17 00:00:00 2001 From: Ankur Date: Tue, 5 May 2015 17:33:02 +0530 Subject: [PATCH] Removed Compiler warning - incompatible pointer type Change-Id: I73f52ea6bb3b7e6f5306bc1cc32c6d1cbf953648 --- test/src/api-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/api-test.c b/test/src/api-test.c index 67f5319..0ecea23 100644 --- a/test/src/api-test.c +++ b/test/src/api-test.c @@ -31,7 +31,7 @@ static GMainLoop *mainloop; FILE *fp; -void callback(unsigned int event_type, sensor_event_data_t *event, void *user_data) +void callback(sensor_t sensor, unsigned int event_type, sensor_data_t *data, void *user_data) { g_main_loop_quit(mainloop); } -- 2.7.4