From 7620b4f095dcf4bb33e40102c43e0797ddfb72ef Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 29 Jan 2016 18:42:15 +0100 Subject: [PATCH] sdp_parser: replace sdp_query_service_record_handle_event_t with regular hci event --- test/sdp_client/service_search_query.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/sdp_client/service_search_query.c b/test/sdp_client/service_search_query.c index 19be63973..d4ea0c6aa 100644 --- a/test/sdp_client/service_search_query.c +++ b/test/sdp_client/service_search_query.c @@ -41,16 +41,16 @@ static uint8_t sdp_test_record_list[] = { static void handle_sdp_parser_event(sdp_query_event_t * event){ - sdp_query_service_record_handle_event_t * ve; + const uint8_t * ve; const uint8_t * ce; static uint32_t record_handle = sdp_test_record_list[0]; switch (event->type){ case SDP_QUERY_SERVICE_RECORD_HANDLE: - ve = (sdp_query_service_record_handle_event_t*) event; + ve = (const uint8_t*) event; - CHECK_EQUAL(ve->record_handle, record_handle); + CHECK_EQUAL(sdp_query_service_record_handle_event_get_record_handle(ve), record_handle); record_handle++;