diff --git a/components/nvs_flash/test_apps_bootloader/main/test_app_main.c b/components/nvs_flash/test_apps_bootloader/main/test_app_main.c index 8c2912aff99..db5a169778f 100644 --- a/components/nvs_flash/test_apps_bootloader/main/test_app_main.c +++ b/components/nvs_flash/test_apps_bootloader/main/test_app_main.c @@ -14,7 +14,7 @@ static size_t before_free_8bit; static size_t before_free_32bit; -static size_t actual_leak_threshold = TEST_MEMORY_INITIAL_LEAK_THRESHOLD; +static ssize_t actual_leak_threshold = TEST_MEMORY_INITIAL_LEAK_THRESHOLD; static void check_leak(size_t before_free, size_t after_free, const char *type)