[hackers] [scc] [cc1] Fix cast between pointers and ints || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Tue, 21 Feb 2017 21:11:49 +0100 (CET)

commit b141af6efba350a99963ab4db6dc2204a4e92b56
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Tue Feb 21 20:36:19 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Tue Feb 21 21:11:05 2017 +0100

    [cc1] Fix cast between pointers and ints
    
    A missing break was causing that casts between pointers and integers
    was forbidden.

diff --git a/cc1/expr.c b/cc1/expr.c
index e99932d..cec7353 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
_AT_@ -279,6 +279,7 @@ convert(Node *np, Type *newtp, char iscast)
                 default:
                         return NULL;
                 }
+ break;
         default:
                 return NULL;
         }
Received on Tue Feb 21 2017 - 21:11:49 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 21 2017 - 21:12:25 CET