1 --- a/Source/JavaScriptCore/wasm/WasmSectionParser.cpp 2023-08-09 09:49:33.123924000 +0000
2 +++ b/Source/JavaScriptCore/wasm/WasmSectionParser.cpp 2023-09-15 17:26:32.376874342 +0000
7 - return fail(i, "th Type is non-Func, non-Struct, and non-Array ", typeKind);
8 + return fail(i, "th Type is non-Func, non-Struct, and non-Array ", (signed char)typeKind);
11 WASM_PARSER_FAIL_IF(!signature, "can't allocate enough memory for Type section's ", i, "th signature");
13 packedType = static_cast<PackedType>(kind);
16 - return fail("expected a packed type but got ", kind);
17 + return fail("expected a packed type but got ", (signed char)kind);
20 auto SectionParser::parseStorageType(StorageType& storageType) -> PartialResult
25 - return fail(i, "th Type is non-Func, non-Struct, and non-Array ", typeKind);
26 + return fail(i, "th Type is non-Func, non-Struct, and non-Array ", (signed char)typeKind);
29 WASM_PARSER_FAIL_IF(!signature, "can't allocate enough memory for recursion group's ", i, "th signature");
34 - return fail("invalid structural type definition for subtype ", typeKind);
35 + return fail("invalid structural type definition for subtype ", (signed char)typeKind);
38 // When no supertypes are specified, we will normalize type definitions to