diff options
| author | Quentin Carbonneaux <[email protected]> | 2021-03-02 08:40:47 +0100 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2021-03-02 08:40:47 +0100 |
| commit | cdee1d81c4c73113eb293bf2ac816bee53047f36 (patch) | |
| tree | 7b190d90e520d97acef78d2777c66cf497ecff35 | |
| parent | 201881d6ca47150fb4037c9babbcf6717471da60 (diff) | |
silence a gcc10 warning
| -rw-r--r-- | fold.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -459,7 +459,7 @@ foldflt(Con *res, int op, int w, Con *cl, Con *cr) if (cl->type != CBits || cr->type != CBits) err("invalid address operand for '%s'", optab[op].name); - *res = (Con){CBits}; + *res = (Con){.type = CBits}; memset(&res->bits, 0, sizeof(res->bits)); if (w) { ld = cl->bits.d; |
