Closed stransky closed 7 years ago
Looks like a signed-vs-unsigned char issue. new
takes a *const c_char
but _new
takes a *const i8
. Which is odd because it stores it in Context::context_name
which is a *const c_char
again.
Does it build if you just change the _new
argument type to *const c_char
?
nb this should be fixed upstream by 782f6a88 which is in Firefox 56, so you'll need to patch this for for Firefox 55.
Thanks, I'll try to backport it then.
I tried to build Firefox 55 on arm and I get:
= note: expected type
*const u8
found type*const i8
= help: here are some functions which might fulfill your needs:= note: expected type
*const i8
found type*const u8
= help: here are some functions which might fulfill your needs: