From 7f9d92f6d5a67e5afd2351893abc51d73f1d47d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 13 Nov 2017 20:31:05 +0100 Subject: [PATCH] Fix a warning on a struct initializer. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- lexer/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexer/main.c b/lexer/main.c index 40ff04d..3837e9b 100644 --- a/lexer/main.c +++ b/lexer/main.c @@ -11,7 +11,7 @@ struct token_s { wint_t value[50]; }; -struct token_s token[TOKEN_MAX] = {NULL, 0}; +struct token_s token[TOKEN_MAX] = {{NULL, {0}}}; FILE *source = NULL, *target = NULL; wint_t c; -- 2.34.1