[hackers] [scc] [cc2] Initialize the align of strings || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Tue, 26 Jan 2016 19:39:20 +0100 (CET)

commit 53ec588a4d2b526910a7926508bbdd9f70517c13
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Tue Jan 26 19:06:26 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Tue Jan 26 19:06:26 2016 +0100

    [cc2] Initialize the align of strings

diff --git a/cc2/parser.c b/cc2/parser.c
index 1234c76..0a0db2b 100644
--- a/cc2/parser.c
+++ b/cc2/parser.c
_AT_@ -202,6 +202,7 @@ constant(char *token, union tokenop u)
                 np->op = OSTRING;
                 np->type.flags = STRF;
                 np->type.size = strlen(token);
+ np->type.align = int8type.align;
                 np->u.s = xstrdup(token);
         } else {
                 np->op = OCONST;
Received on Tue Jan 26 2016 - 19:39:20 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 26 2016 - 19:48:24 CET