Parent: 75eaabf09f1007c68611f06637125cc87e41a701
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2015-04-16 14:23:31
Tree: c906b4c1f32d87ad826f9d6c66d3897470879c48
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.
Diffstat
| M | android/avrcp-lib.h | | | 2 | +- |
| M | android/avrcp.c | | | 5 | +++- - |
| M | unit/test-avrcp.c | | | 9 | +++++- - - - |
3 files changed, 9 insertions(+), 7 deletions(-)