Diff between 91f595dda9d2f0cba59bb4e014bf552aa9b179d0 and 3d9fc0e100ed5d2c9151da6bc55381aeafd2fce8

Changed Files

File Additions Deletions Status
lib/bluetooth.h +2 -2 modified

Full Patch

diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index 6ca64b6..852a6b2 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -345,8 +345,8 @@ typedef struct {
 
 static inline void bswap_128(const void *src, void *dst)
 {
-	const uint8_t *s = src;
-	uint8_t *d = dst;
+	const uint8_t *s = (const uint8_t *) src;
+	uint8_t *d = (uint8_t *) dst;
 	int i;
 
 	for (i = 0; i < 16; i++)