mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-23 01:21:28 +00:00
Fixed compiler warnings (comparision of signed with unsigned)
This commit is contained in:
parent
b5d8b22b3c
commit
f16a69bbd8
@ -45,7 +45,7 @@ static uint16_t bnep_version = 0;
|
||||
static uint16_t bnep_cid = 0;
|
||||
|
||||
static uint8_t attribute_value[1000];
|
||||
static const int attribute_value_buffer_size = sizeof(attribute_value);
|
||||
static const unsigned int attribute_value_buffer_size = sizeof(attribute_value);
|
||||
|
||||
//static bd_addr_t remote = {0x04,0x0C,0xCE,0xE4,0x85,0xD3};
|
||||
static bd_addr_t remote = {0xE0,0x06,0xE6,0xBB,0x95,0x79};
|
||||
|
@ -666,7 +666,7 @@ static const uint16_t packet_type_feature_packet_mask[] = {
|
||||
static uint16_t hci_acl_packet_types_for_buffer_size_and_local_features(uint16_t buffer_size, uint8_t * local_supported_features){
|
||||
// enable packet types based on size
|
||||
uint16_t packet_types = 0;
|
||||
int i;
|
||||
unsigned int i;
|
||||
for (i=0;i<16;i++){
|
||||
if (packet_type_sizes[i] == 0) continue;
|
||||
if (packet_type_sizes[i] <= buffer_size){
|
||||
|
Loading…
x
Reference in New Issue
Block a user