From f5726daa6c720685cbc0e5250a2a5ee6b4860210 Mon Sep 17 00:00:00 2001 From: lpoulain Date: Tue, 25 Mar 2014 07:05:56 +0100 Subject: [PATCH] Bluedroid: Fix UUID unsigned/signed comparison 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 Signed-off-by: Yong Yao --- btif/src/btif_gatt_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btif/src/btif_gatt_util.c b/btif/src/btif_gatt_util.c index ab56f99ae..d7ac17af6 100644 --- 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 }; -- 2.11.0