Advertisement
MasWag

bluez_implicit_cast.patch

Mar 20th, 2015
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. diff --git a/lib/bluetooth.h b/lib/bluetooth.h
  2. index 6ca64b6..3367315 100644
  3. --- a/lib/bluetooth.h
  4. +++ b/lib/bluetooth.h
  5. @@ -345,8 +345,8 @@ typedef struct {
  6.  
  7. static inline void bswap_128(const void *src, void *dst)
  8. {
  9. - const uint8_t *s = src;
  10. - uint8_t *d = dst;
  11. + const uint8_t *s = (uint8_t*) src;
  12. + uint8_t *d = (uint8_t*) dst;
  13. int i;
  14.  
  15. for (i = 0; i < 16; i++)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement