OSDN Git Service

android/avrcp-lib: Use void pointer in register_notification
authorSzymon Janc <szymon.janc@tieto.com>
Tue, 14 Apr 2015 13:48:35 +0000 (15:48 +0200)
committerSzymon Janc <szymon.janc@tieto.com>
Thu, 16 Apr 2015 11:23:31 +0000 (13:23 +0200)
commitd7c099fa532246cf8812ebf250b97026f0bbee7d
treec906b4c1f32d87ad826f9d6c66d3897470879c48
parent75eaabf09f1007c68611f06637125cc87e41a701
android/avrcp-lib: Use void pointer in register_notification

In this callback params vary depending on code. Passing those as void*
allows to avoid extra memcpy that would be otherwise needed to
avoid warnings due to increased alignment when casting.
android/avrcp-lib.h
android/avrcp.c
unit/test-avrcp.c