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:
parent
006771699f
commit
e90e8c7426
|
@ -21,7 +21,7 @@ namespace Pinetime {
|
|||
const uint8_t* buffer;
|
||||
size_t size;
|
||||
|
||||
int encodedBufferIndex = 0;
|
||||
size_t encodedBufferIndex = 0;
|
||||
int y = 0;
|
||||
uint16_t bp = 0;
|
||||
uint16_t foregroundColor = 0xffff;
|
||||
|
|
Loading…
Reference in a new issue