Diff between 1d73dc6a1a9a7a83dc77e547b0d639cea8b2d903 and 249d2120bd904c5f6db2138a3412822c9ded1dfb
Changed Files
| File | Additions | Deletions | Status |
| mesh/pb-adv.c | +1 | -1 | modified |
Full Patch
diff --git a/mesh/pb-adv.c b/mesh/pb-adv.c
index 385d81d..7a1dd87 100644
--- a/mesh/pb-adv.c
+++ b/mesh/pb-adv.c
@@ -166,7 +166,7 @@ static void send_adv_segs(struct pb_adv_session *session, const uint8_t *data,
consumed = init_size;
for (i = 1; i <= max_seg; i++) {
- uint8_t seg_size; /* Amount of payload data being sent */
+ size_t seg_size; /* Amount of payload data being sent */
if (size - consumed > PB_ADV_MTU - 1)
seg_size = PB_ADV_MTU - 1;