diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-20 12:15:24 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-20 12:15:24 -0700 |
commit | 57eb0c15a10dfcd9816b84166106a1aa32323325 (patch) | |
tree | 7e4060d941dca7060c57153e13b02928e533c187 /sys/cmd/cc/cc.h | |
parent | 480611c452e8b4dc18654545e2de4d6dde2d7b4d (diff) |
fix: made rune constants unsigned for implicit casting
Diffstat (limited to 'sys/cmd/cc/cc.h')
-rw-r--r-- | sys/cmd/cc/cc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cmd/cc/cc.h b/sys/cmd/cc/cc.h index 8a9fd80..6ed2caa 100644 --- a/sys/cmd/cc/cc.h +++ b/sys/cmd/cc/cc.h @@ -255,8 +255,8 @@ struct Lexer /* lex.c functions */ Token lex(Lexer *); -byte getbyte(Lexer *); -byte getnsbyte(Lexer *l); +int getbyte(Lexer *); +int getnsbyte(Lexer *l); rune getrune(Lexer *); byte ungetbyte(Lexer *); rune ungetrune(Lexer *, rune r); |