Diff between 2884336bac7ef63f971e6b460c6538d85b72596f and fc387495f95b51685fe9a8b162a1f19b28b549e7

Changed Files

File Additions Deletions Status
android/avdtp.c +2 -1 modified
android/avdtp.h +2 -1 modified

Full Patch

diff --git a/android/avdtp.c b/android/avdtp.c
index 3985fb3..074ca13 100644
--- a/android/avdtp.c
+++ b/android/avdtp.c
@@ -2960,7 +2960,8 @@ struct avdtp_service_capability *avdtp_get_codec(struct avdtp_remote_sep *sep)
 }
 
 struct avdtp_service_capability *avdtp_service_cap_new(uint8_t category,
-							void *data, int length)
+							const void *data,
+							int length)
 {
 	struct avdtp_service_capability *cap;
 
diff --git a/android/avdtp.h b/android/avdtp.h
index 9d683c4..4d1a799 100644
--- a/android/avdtp.h
+++ b/android/avdtp.h
@@ -216,7 +216,8 @@ void avdtp_unref(struct avdtp *session);
 struct avdtp *avdtp_ref(struct avdtp *session);
 
 struct avdtp_service_capability *avdtp_service_cap_new(uint8_t category,
-							void *data, int size);
+							const void *data,
+							int size);
 
 struct avdtp_service_capability *avdtp_get_codec(struct avdtp_remote_sep *sep);