summaryrefslogtreecommitdiffstats
path: root/src/modules/bluetooth/sbc.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-09-29 21:34:18 +0200
committerLennart Poettering <lennart@poettering.net>2008-09-29 21:34:18 +0200
commit60e9744f281cde85790dd764cd4e52dc4b19f6b1 (patch)
tree71b8524d2079289151bd157422d4ebbb1937d910 /src/modules/bluetooth/sbc.c
parent87971c8707cf84e0f386b5fe5329c8aff155e629 (diff)
remove a few compiler warnings in BlueZ code
Diffstat (limited to 'src/modules/bluetooth/sbc.c')
-rw-r--r--src/modules/bluetooth/sbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/bluetooth/sbc.c b/src/modules/bluetooth/sbc.c
index 6303421f..02a6143d 100644
--- a/src/modules/bluetooth/sbc.c
+++ b/src/modules/bluetooth/sbc.c
@@ -145,7 +145,7 @@ static uint8_t sbc_crc8(const uint8_t *data, size_t len)
octet = data[i];
for (i = 0; i < len % 8; i++) {
- char bit = ((octet ^ crc) & 0x80) >> 7;
+ unsigned char bit = ((octet ^ crc) & 0x80) >> 7;
crc = ((crc & 0x7f) << 1) ^ (bit ? 0x1d : 0);