diff --git a/test/depr/depr.c.headers/wctype_h.pass.cpp b/test/depr/depr.c.headers/wctype_h.pass.cpp index f7f36f521..ad3107100 100644 --- a/test/depr/depr.c.headers/wctype_h.pass.cpp +++ b/test/depr/depr.c.headers/wctype_h.pass.cpp @@ -92,7 +92,7 @@ int main() { wint_t w = 0; wctrans_t wctr = 0; - wctype_t wct = (wctype_t)0; + wctype_t wct = 0; static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); diff --git a/test/strings/c.strings/cwctype.pass.cpp b/test/strings/c.strings/cwctype.pass.cpp index 9d99cbf42..6d66415ab 100644 --- a/test/strings/c.strings/cwctype.pass.cpp +++ b/test/strings/c.strings/cwctype.pass.cpp @@ -92,7 +92,7 @@ int main() { std::wint_t w = 0; std::wctrans_t wctr = 0; - std::wctype_t wct = (std::wctype_t)0; + std::wctype_t wct = 0; static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), "");