f7a1ffe614
The change changes the type of the attribute count in the bt_gatt_service struct to size_t. The background for the change is that with this variable being a u16_t, we assign something that has been cast to an unsigned long (from "ARRAY_SIZE") to an u16_t variable, and that Lint complains about a loss of information (27 bits to 16 bits in the case I found). (The issue seems to be not only about the cast, but about what is casted. I suspect that Lint may be confused by the magic of ZERO_OR_COMPILE_ERROR.) Signed-off-by: Asbjørn Sæbø <asbjorn.sabo@nordicsemi.no> |
||
---|---|---|
.. | ||
mesh | ||
a2dp-codec.h | ||
a2dp.h | ||
att.h | ||
avdtp.h | ||
bluetooth.h | ||
buf.h | ||
conn.h | ||
crypto.h | ||
gatt.h | ||
hci.h | ||
hci_raw.h | ||
hci_vs.h | ||
hfp_hf.h | ||
l2cap.h | ||
mesh.h | ||
rfcomm.h | ||
sdp.h | ||
testing.h | ||
uuid.h |