From 9314412306644b36a64381fc4c095038d7a66a15 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Thu, 19 Dec 2013 22:41:50 +0000 Subject: [PATCH] waste 1 extra byte per SDP record to allow compilation with older compilers --- src/sdp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdp.h b/src/sdp.h index 19ea8dbf3..1e727991b 100644 --- a/src/sdp.h +++ b/src/sdp.h @@ -66,7 +66,7 @@ typedef struct { // data is contained in same memory uint32_t service_record_handle; - uint8_t service_record[0]; + uint8_t service_record[1]; // waste 1 byte to allow compilation with older compilers } service_record_item_t;