diff options
author | H. Peter Anvin <hpa@zytor.com> | 2017-03-01 01:01:37 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2017-03-01 01:01:37 -0800 |
commit | 09dff8b2577ed93fcefaf1eac31e41785bf7a473 (patch) | |
tree | 22a0d3f915a0693f856078d8ab280d7043c5ae3c /output/outas86.c | |
parent | e90a89abe47bfc1146f1a2a77409ce103789d9f8 (diff) | |
download | nasm-09dff8b2577ed93fcefaf1eac31e41785bf7a473.tar.gz |
Remove casts in switch statements only meant to keep OpenWatcom happy
Remove casts in switch statements that were intended to keep
OpenWatcom happy. It didn't work, and now we have a more general
solution for the problem, which also ought to be less dangerous.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'output/outas86.c')
-rw-r--r-- | output/outas86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outas86.c b/output/outas86.c index 3079bc82..631aff0f 100644 --- a/output/outas86.c +++ b/output/outas86.c @@ -581,7 +581,7 @@ static void as86_write_section(struct Section *sect, int index) fwriteint16_t(p->number, ofile); else fputc(p->number, ofile); - switch ((int)s) { + switch (s) { case 0: break; case 1: |