[hackers] [scc] Add VOID to eqtype() || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Fri, 14 Aug 2015 17:56:52 +0200 (CEST)

commit 285d54fa5709638cd975b5fcfc6a54bed54b9abc
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Aug 14 17:55:34 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Aug 14 17:55:34 2015 +0200

    Add VOID to eqtype()
    
    Void is also a type implied in castings.

diff --git a/cc1/types.c b/cc1/types.c
index d2d9740..5957274 100644
--- a/cc1/types.c
+++ b/cc1/types.c
_AT_@ -354,6 +354,7 @@ eqtype(Type *tp1, Type *tp2)
                                 return 0;
                 }
                 return 1;
+ case VOID:
         case ENUM:
                 return 0;
         case INT:
Received on Fri Aug 14 2015 - 17:56:52 CEST

This archive was generated by hypermail 2.3.0 : Fri Aug 14 2015 - 18:00:13 CEST