LittleFS test: silence sign mismatch warning

pull/11957/head
Kevin Bracey 2019-11-19 15:47:11 +02:00
parent 7a219260c1
commit cf13cd48bc
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ void test_boundary_seek_and_write()
size = strlen("hedgehoghog");
const off_t offsets[] = {512, 1020, 513, 1021, 511, 1019};
for (int i = 0; i < sizeof(offsets) / sizeof(offsets[0]); i++) {
for (size_t i = 0; i < sizeof(offsets) / sizeof(offsets[0]); i++) {
off_t off = offsets[i];
memcpy(buffer, "hedgehoghog", size);
res = file[0].seek(off, SEEK_SET);