From 432ea03f59e8d57671c3fb0d165c08375d667802 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Thu, 9 Nov 2017 19:07:41 +0300 Subject: [PATCH] Expect warning for wrong argument sign --- test/testio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testio.cpp b/test/testio.cpp index ff2f68882..8e278fd4e 100644 --- a/test/testio.cpp +++ b/test/testio.cpp @@ -1429,7 +1429,7 @@ private: TEST_SCANF_WARN_AKA("%jd", "intmax_t", "std::ssize_t", "signed long", "signed long long"); TEST_SCANF_WARN_AKA("%jd", "intmax_t", "std::ptrdiff_t", "signed long", "signed long long"); TEST_SCANF_NOWARN("%jd", "intmax_t", "intmax_t"); - TEST_SCANF_NOWARN("%jd", "intmax_t", "uintmax_t"); + TEST_SCANF_WARN_AKA("%jd", "intmax_t", "uintmax_t", "unsigned long", "unsigned long long"); TEST_SCANF_WARN("%zu", "size_t", "bool"); TEST_SCANF_WARN("%zu", "size_t", "char");