diff --git a/t/src/embed/pmc.t b/t/src/embed/pmc.t index 2894550677..85affb7efc 100644 --- a/t/src/embed/pmc.t +++ b/t/src/embed/pmc.t @@ -326,7 +326,7 @@ int main(int argc, char* argv[]) Parrot_api_pmc_serialize(interpmc, p_str, &s_frozen); Parrot_api_string_byte_length(interpmc, s_frozen, &len); Parrot_api_string_export_ascii(interpmc, s_frozen, &c_outstr); - Parrot_api_pmc_deserialize_bytes(interpmc, c_outstr, len, &p_str_thawed); + Parrot_api_pmc_deserialize_bytes(interpmc, (const unsigned char *)c_outstr, len, &p_str_thawed); Parrot_api_pmc_get_string(interpmc, p_str_thawed, &s_outstr); Parrot_api_string_export_ascii(interpmc, s_outstr, &c_outstr);