[hackers] [scc] [cc1] Fix size of infileln in addinput() || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Mon, 6 Mar 2017 14:24:40 +0100 (CET)

commit 81dea9fb6dfb12ac9eb61c7e9aa3fed4d17e751c
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Mon Mar 6 14:23:25 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Mon Mar 6 14:23:25 2017 +0100

    [cc1] Fix size of infileln in addinput()
    
    .* expects an int value, not a size_t.

diff --git a/cc1/lex.c b/cc1/lex.c
index a6ef332..eab2a52 100644
--- a/cc1/lex.c
+++ b/cc1/lex.c
_AT_@ -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) {
Received on Mon Mar 06 2017 - 14:24:40 CET

This archive was generated by hypermail 2.3.0 : Mon Mar 06 2017 - 14:36:52 CET