scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 81dea9fb6dfb12ac9eb61c7e9aa3fed4d17e751c
parent 5a4a8a31d7fd8b2c2a5d19f13a5aa20fb3e4cca1
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon,  6 Mar 2017 14:23:25 +0100

[cc1] Fix size of infileln in addinput()

.* expects an int value, not a size_t.

Diffstat:
Mcc1/lex.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc1/lex.c b/cc1/lex.c @@ -92,7 +92,7 @@ addinput(char *fname, Symbol *hide, char *buffer) FILE *fp; char *extp; unsigned flags; - size_t infileln; + int infileln; Input *newip, *curip = input; if (hide) {