Parent: 91f595dda9d2f0cba59bb4e014bf552aa9b179d0
Author: Richard Palethorpe <richard@lm-technologies.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-03-30 10:14:07
Tree: 253a2287e39d82f6a113fab9bcc3debf9069e854
lib: Fix compilation error in C++ due to inline function This adds explicit typecasts to an inline function to make it C++ compatible. What follows is a sample error message from g++ when compiling without this patch. /usr/include/bluetooth/bluetooth.h: In function 'void bswap_128(const void*, void*)': /usr/include/bluetooth/bluetooth.h:348:21: error: invalid conversion from 'const void*' to 'const uint8_t* {aka const unsigned char*}' [-fpermissive] const uint8_t *s = src;
Diffstat
| M | lib/bluetooth.h | | | 4 | ++- - |
1 files changed, 2 insertions(+), 2 deletions(-)