Skip to content

Commit d52e25a

Browse files
FidelSchfpistm
andauthored
Update src/utility/L2CAPSignaling.cpp
Unsigned integer type consistency Co-authored-by: Frederic Pillon <[email protected]>
1 parent 9a6d4e0 commit d52e25a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/utility/L2CAPSignaling.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ void L2CAPSignalingClass::smCalculateLTKandConfirm(uint16_t handle, uint8_t expe
413413
// Send our confirmation value to complete authentication stage 2
414414
uint8_t ret[17];
415415
ret[0] = CONNECTION_PAIRING_DHKEY_CHECK;
416-
for(uint i=0; i<sizeof(Eb); i++){
416+
for(uint32_t i=0; i<sizeof(Eb); i++){
417417
ret[sizeof(Eb)-i] = Eb[i];
418418
}
419419
HCI.sendAclPkt(handle, SECURITY_CID, sizeof(ret), ret );

0 commit comments

Comments
 (0)