Fix signed/unsigned comparison warning

Changed type of encodedBufferIndex to size_t to eliminate warning. It is
fine as a size_t as its only ever compared to another size_t and used as
an array index.
This commit is contained in:
Jonathan Vander Mey 2021-05-24 18:17:56 -04:00 committed by JF002
parent 006771699f
commit e90e8c7426

View file

@ -21,7 +21,7 @@ namespace Pinetime {
const uint8_t* buffer; const uint8_t* buffer;
size_t size; size_t size;
int encodedBufferIndex = 0; size_t encodedBufferIndex = 0;
int y = 0; int y = 0;
uint16_t bp = 0; uint16_t bp = 0;
uint16_t foregroundColor = 0xffff; uint16_t foregroundColor = 0xffff;