Closed aganm closed 10 months ago
Fixes an error that gcc gives me when -Wformat-truncation=2 is enabled.
-Wformat-truncation=2
utest.h:1135:36: error: ‘%s’ directive output truncated writing 4 bytes into a region of size 1 [-Werror=format-truncation=] 1135 | UTEST_SNPRINTF(name, name_size, "%s", name_part); | ^~~~
Thanks again for your contributions!
Fixes an error that gcc gives me when
-Wformat-truncation=2
is enabled.