1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 18:15:49 +01:00

Huami 2021: Add missing cast to chunked type

Missed this file in the last commit.
This commit is contained in:
José Rebelo 2022-10-29 18:43:41 +01:00
parent 003dd6ce32
commit f7074c327d

View File

@ -115,7 +115,7 @@ public class Huami2021ChunkedDecoder {
}
}
try {
huami2021Handler.handle2021Payload(currentType, buf);
huami2021Handler.handle2021Payload((short) currentType, buf);
} catch (final Exception e) {
LOG.error("Failed to handle payload", e);
}