OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e470dc
)
Bluedroid: Fix UUID unsigned/signed comparison
author
lpoulain
<loic.poulain@intel.com>
Tue, 25 Mar 2014 06:05:56 +0000
(07:05 +0100)
committer
Yong Yao
<yong.yao@intel.com>
Fri, 2 May 2014 16:04:58 +0000
(09:04 -0700)
UUID type was never detected as a 16 bits UUID due to a comparison
between signed and unsigned char in uuidType().
Change-Id: I6205ab4c2568f03b4692e0ce8a1dec216f1cdc0e
Signed-off-by: lpoulain <loic.poulain@intel.com>
Signed-off-by: Yong Yao <yong.yao@intel.com>
btif/src/btif_gatt_util.c
patch
|
blob
|
history
diff --git
a/btif/src/btif_gatt_util.c
b/btif/src/btif_gatt_util.c
index
ab56f99
..
d7ac17a
100644
(file)
--- a/
btif/src/btif_gatt_util.c
+++ b/
btif/src/btif_gatt_util.c
@@
-43,7
+43,7
@@
#define GATTC_READ_VALUE_TYPE_VALUE 0x0000 /* Attribute value itself */
#define GATTC_READ_VALUE_TYPE_AGG_FORMAT 0x2905 /* Characteristic Aggregate Format*/
-static char BASE_UUID[16] = {
+static
unsigned
char BASE_UUID[16] = {
0xfb, 0x34, 0x9b, 0x5f, 0x80, 0x00, 0x00, 0x80,
0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};