From 55224307bf9b3e4231daca9ad4c4e3b6d734869b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 23 Feb 2023 18:31:23 +0100 Subject: fix: printf related warnings --- src/user/app/tests/shared/printf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/user/app/tests/shared') diff --git a/src/user/app/tests/shared/printf.c b/src/user/app/tests/shared/printf.c index 71122f5..d8df48a 100644 --- a/src/user/app/tests/shared/printf.c +++ b/src/user/app/tests/shared/printf.c @@ -2,6 +2,8 @@ #include #include +#pragma GCC diagnostic ignored "-Wformat-truncation" + static void test_printf(void) { char buf[64]; memset(buf, '?', 64); -- cgit v1.2.3