>From 5b1b4fc13212991968bff51e98cba9da5552d983 From: Ori Bernstein <o...@eigenstate.org> Date: Sun, 22 Mar 2020 18:04:44 -0700 Subject: [PATCH] make source a compatible type
We pass uint32_t source as an out parameter which takes an int32_t pointer, and the plan 9 compilers complain about this. This makes the type match. diff -urN a/bindings/hubbub/parser.c b/bindings/hubbub/parser.c --- a/bindings/hubbub/parser.c Sat Feb 22 09:15:42 2020 +++ b/bindings/hubbub/parser.c Sun Mar 22 18:04:44 2020 @@ -642,7 +642,7 @@ static hubbub_error change_encoding(void *parser, const char *charset) { dom_hubbub_parser *dom_parser = (dom_hubbub_parser *) parser; - uint32_t source; + int32_t source; const char *name; /* If we have an encoding here, it means we are *certain* */