mirror of https://github.com/FOME-Tech/fome-fw.git
size_t vs int compare fix (#438)
This commit is contained in:
parent
72b0e74fcc
commit
4351a8b1bc
|
@ -409,7 +409,7 @@ static void writeEvents(const std::vector<CompositeEvent>& events) {
|
||||||
uint32_t prevTs = 0;
|
uint32_t prevTs = 0;
|
||||||
int deltaCount = 0;
|
int deltaCount = 0;
|
||||||
|
|
||||||
for (int i = 0; i < count; i++) {
|
for (size_t i = 0; i < count; i++) {
|
||||||
const CompositeEvent* event = &events[i];
|
const CompositeEvent* event = &events[i];
|
||||||
|
|
||||||
int chState = getChannelState(ch, event);
|
int chState = getChannelState(ch, event);
|
||||||
|
|
Loading…
Reference in New Issue