mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
loop parameter must be signed in case batch_size is 0.
This commit is contained in:
parent
5fc9534188
commit
25a73a43dc
@ -535,8 +535,8 @@ get_record_index(coffee_page_t log_page, uint16_t record_count,
|
|||||||
unsigned long base;
|
unsigned long base;
|
||||||
uint16_t indices[record_count];
|
uint16_t indices[record_count];
|
||||||
uint16_t processed;
|
uint16_t processed;
|
||||||
uint16_t batch_size, i;
|
uint16_t batch_size;
|
||||||
int16_t match_index;
|
int16_t match_index, i;
|
||||||
|
|
||||||
base = ABS_OFFSET(log_page, sizeof(indices[0]) * search_records);
|
base = ABS_OFFSET(log_page, sizeof(indices[0]) * search_records);
|
||||||
processed = 0;
|
processed = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user