repositories
/
TP_AL_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a warning on a struct initializer.
[TP_AL_C.git]
/
lexer
/
main.c
diff --git
a/lexer/main.c
b/lexer/main.c
index 40ff04d540f95c4b7e6fa16b984d8e188997af6d..3837e9bcf3daa7d4eacf8b6350386aacd0445a80 100644
(file)
--- 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;