Skip to content

Commit 49ec4c3

Browse files
committed
LittleFS test: silence sign mismatch warning
1 parent 1265d76 commit 49ec4c3

File tree

1 file changed

+1
-1
lines changed
  • features/storage/filesystem/littlefs/TESTS/filesystem/seek

1 file changed

+1
-1
lines changed

features/storage/filesystem/littlefs/TESTS/filesystem/seek/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ void test_boundary_seek_and_write()
535535
size = strlen("hedgehoghog");
536536
const off_t offsets[] = {512, 1020, 513, 1021, 511, 1019};
537537

538-
for (int i = 0; i < sizeof(offsets) / sizeof(offsets[0]); i++) {
538+
for (size_t i = 0; i < sizeof(offsets) / sizeof(offsets[0]); i++) {
539539
off_t off = offsets[i];
540540
memcpy(buffer, "hedgehoghog", size);
541541
res = file[0].seek(off, SEEK_SET);

0 commit comments

Comments
 (0)