Skip to content

Commit

Permalink
add cast to allow test to build with g++
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehh committed Dec 30, 2010
1 parent 7896ce6 commit 69c3a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/src/embed/pmc.t
Expand Up @@ -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);
Expand Down

0 comments on commit 69c3a2d

Please sign in to comment.