Skip to content
Snippets Groups Projects
Commit a78f21f7 authored by Sven M. Hallberg's avatar Sven M. Hallberg
Browse files

cast an arg to pprint_bytes to make our compilers happy

parent 49991f23
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ void h_pprint(FILE* stream, const HParsedToken* tok, int indent, int delta) {
{
const HTTEntry *e = h_get_token_type_entry(tok->token_type);
fprintf(stream, "{ \"TT\":%d, \"N\":", (int)e->value);
pprint_bytes(stream, e->name, strlen(e->name));
pprint_bytes(stream, (uint8_t *)e->name, strlen(e->name));
if (e->pprint != NULL) {
fprintf(stream, ", \"V\":");
e->pprint(stream, tok, indent + delta, delta);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment