diff options
| author | JF <jf@codingfield.com> | 2020-08-19 14:04:05 (GMT) |
|---|---|---|
| committer | Gitea <gitea@fake.local> | 2020-08-19 14:04:05 (GMT) |
| commit | 9906a708c9fcbc13f47bdba0cb8512799a2a3719 (patch) | |
| tree | 98ad9be1bc27a4ea1b9d5ce53837c20902da96c9 /src/Components/Ble/AlertNotificationClient.cpp | |
| parent | 18686ac2cbf6b97dd0250234ce128bd9ad350d6e (diff) | |
| parent | 1e1bb1c6b7d7fdf6299c97bc11555b08f034f324 (diff) | |
Merge branch 'removeWarnings' of JF/PineTime into develop
Diffstat (limited to 'src/Components/Ble/AlertNotificationClient.cpp')
| -rw-r--r-- | src/Components/Ble/AlertNotificationClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/Ble/AlertNotificationClient.cpp b/src/Components/Ble/AlertNotificationClient.cpp index b65e019..3e4b495 100644 --- a/src/Components/Ble/AlertNotificationClient.cpp +++ b/src/Components/Ble/AlertNotificationClient.cpp @@ -116,7 +116,7 @@ void AlertNotificationClient::OnNotification(ble_gap_event *event) { char *s = (char *) &data[3]; auto messageSize = min(maxMessageSize, (bufferSize-3)); - for (int i = 0; i < messageSize-1; i++) { + for (uint i = 0; i < messageSize-1; i++) { if (s[i] == 0x00) { s[i] = 0x0A; } |
