scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit a72eb28716ee34d787a6a1a076fe0c9cb2715aa9
parent ec0e3ddd118d44a0a2c0fc64be5d15f8105075db
Author: Quentin Rameau <quinq@fifth.space>
Date:   Sun,  2 May 2021 14:45:50 +0200

cc1: Remove unnecessary cast

Diffstat:
Msrc/cmd/cc/cc1/amd64-sysv.c | 4++--
Msrc/cmd/cc/cc1/arm64-sysv.c | 4++--
Msrc/cmd/cc/cc1/i386-sysv.c | 4++--
Msrc/cmd/cc/cc1/z80-scc.c | 4++--
4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/cmd/cc/cc1/amd64-sysv.c b/src/cmd/cc/cc1/amd64-sysv.c @@ -88,7 +88,7 @@ amd64_sysv(void) .align = 2, .n.rank = RANK_SHORT, }, - .uinttype = (Type) { + .uinttype = { .op = INT, .letter = L_UINT32, .prop = TDEFINED | TINTEGER | TARITH, @@ -96,7 +96,7 @@ amd64_sysv(void) .align = 4, .n.rank = RANK_UINT, }, - .inttype = (Type) { + .inttype = { .op = INT, .letter = L_INT32, .prop = TDEFINED | TINTEGER | TARITH | TSIGNED, diff --git a/src/cmd/cc/cc1/arm64-sysv.c b/src/cmd/cc/cc1/arm64-sysv.c @@ -88,7 +88,7 @@ arm64_sysv(void) .align = 2, .n.rank = RANK_SHORT, }, - .uinttype = (Type) { + .uinttype = { .op = INT, .letter = L_UINT32, .prop = TDEFINED | TINTEGER | TARITH, @@ -96,7 +96,7 @@ arm64_sysv(void) .align = 4, .n.rank = RANK_UINT, }, - .inttype = (Type) { + .inttype = { .op = INT, .letter = L_INT32, .prop = TDEFINED | TINTEGER | TARITH | TSIGNED, diff --git a/src/cmd/cc/cc1/i386-sysv.c b/src/cmd/cc/cc1/i386-sysv.c @@ -88,7 +88,7 @@ i386_sysv(void) .align = 2, .n.rank = RANK_SHORT, }, - .uinttype = (Type) { + .uinttype = { .op = INT, .letter = L_UINT32, .prop = TDEFINED | TINTEGER | TARITH, @@ -96,7 +96,7 @@ i386_sysv(void) .align = 4, .n.rank = RANK_UINT, }, - .inttype = (Type) { + .inttype = { .op = INT, .letter = L_INT32, .prop = TDEFINED | TINTEGER | TARITH | TSIGNED, diff --git a/src/cmd/cc/cc1/z80-scc.c b/src/cmd/cc/cc1/z80-scc.c @@ -88,7 +88,7 @@ z80_scc(void) .align = 2, .n.rank = RANK_SHORT, }, - .uinttype = (Type) { + .uinttype = { .op = INT, .letter = L_UINT16, .prop = TDEFINED | TINTEGER | TARITH, @@ -96,7 +96,7 @@ z80_scc(void) .align = 1, .n.rank = RANK_UINT, }, - .inttype = (Type) { + .inttype = { .op = INT, .letter = L_INT16, .prop = TDEFINED | TINTEGER | TARITH | TSIGNED,