Remove overzealous checks (#37493)

This commit is contained in:
Yu Watanabe
2025-05-17 01:37:18 +09:00
committed by GitHub
3 changed files with 11 additions and 19 deletions
+1 -1
View File
@@ -755,7 +755,7 @@ static bool handle_format_specifier(FormatContext *ctx, SpecifierContext *sp) {
* otherwise warn about fetching smaller types. */
assert_cc(sizeof(int) == 4);
assert_cc(sizeof(wchar_t) <= sizeof(int));
assert_cc(sizeof(intmax_t) <= sizeof(long long));
assert_cc(sizeof(long long) == sizeof(intmax_t));
assert(ctx);
assert(sp);