utf8decoder: Use byte-sized byte argument

This prevents passing a negative value out of a signed char by accident.
Also renders some casts in the code superfluous.
This commit is contained in:
Jakub Kądziołka
2020-10-12 01:06:32 +02:00
parent 2dd9015dc6
commit 6767d11c23
7 changed files with 16 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
ERROR: invalid-utf-8.asm(4) -> invalid-utf-8.asm::m(3):
Unknown character 0xCF
ERROR: invalid-utf-8.asm(4) -> invalid-utf-8.asm::m(3):
Unknown character 0xD3
error: Assembly aborted (2 errors)!