shithub: scc

Download patch

ref: 48516d8a1bfa45b73b3f3d0b518b697b194d62c0
parent: 91fed4f458eac3d6b7cc9c02042a4c670d037ede
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Mar 6 09:23:25 EST 2017

[cc1] Fix size of infileln in addinput()

.* expects an int value, not a size_t.

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