Skip to content

Commit

Permalink
Fix size data type in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
haberturdeur committed Nov 21, 2024
1 parent 9a1f8b2 commit 548e35d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_littlefs_static_partition.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ TEST_CASE("grow filesystem", "[littlefs]")
.partition = (const esp_partition_t *) &partition,
};

uint32_t shrink_bytes;
size_t shrink_bytes;

/* Format a smaller partition */
{
Expand All @@ -158,7 +158,7 @@ TEST_CASE("grow filesystem", "[littlefs]")

/* Mount, ensure that it DOES grow */
{
uint32_t grow_bytes;
size_t grow_bytes;
conf.grow_on_mount = true;
TEST_ESP_OK(esp_vfs_littlefs_register(&conf));
TEST_ESP_OK(esp_littlefs_partition_info(&partition, &grow_bytes, NULL));
Expand Down

0 comments on commit 548e35d

Please sign in to comment.