Skip to content

Commit

Permalink
fixed the warning in comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
aavaa-farnood committed Nov 2, 2023
1 parent 6d6dd9d commit 19bcd07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/board_controller/aavaa/aavaa_v3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ void AAVAAv3::read_data (
Incoming_BLE_Data_Buffer.insert (Incoming_BLE_Data_Buffer.end (), data, data + size);
}

while (Incoming_BLE_Data_Buffer.size () >= SIZE_OF_DATA_FRAME)
while (static_cast<int> (Incoming_BLE_Data_Buffer.size ()) >= SIZE_OF_DATA_FRAME)
{
if (Incoming_BLE_Data_Buffer[0] != START_BYTE)
{
Expand Down

0 comments on commit 19bcd07

Please sign in to comment.