Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5b9dcb5 authored by Zero Liu's avatar Zero Liu Committed by huirong liao
Browse files

Fix coverity scan issue: integer overflows

[Description]
Issue type: integer overflows

Bug: 247905252
Test: gatt function pass

Change-Id: I80e538d04fcfd94772212920df70764155574d96
parent 07dd21c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -531,7 +531,7 @@ bool bta_gattc_mark_bg_conn(tGATT_IF client_if,

        p_cif_mask = &p_bg_tck->cif_mask;

        *p_cif_mask = (1 << (client_if - 1));
        *p_cif_mask = ((tBTA_GATTC_CIF_MASK)1 << (client_if - 1));
        return true;
      }
    }