Fix compile time warnings about comparisons always being false.
authorSergey Belyashov <sergey.belyashov@gmail.com>
Thu, 9 Jan 2020 11:47:44 +0000 (11:47 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 9 Jan 2020 11:49:18 +0000 (11:49 +0000)
commit40c75bc8b07abc5d5774ea1c439b69c96e7fd485
treebb0efc3b78e0eb8a7ddbed1d2af4979f18ab8719
parent72aea32839b5f4a2c8fa67e60451169b841941c0
Fix compile time warnings about comparisons always being false.

PR 25224
gas * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
opcode byte values.
(emit_ld_r_r): Likewise.
(emit_ld_rr_m): Likewise.
(emit_ld_rr_nn): Likewise.

opcodes * z80-dis.c (ld_ii_ii): Use character constant when checking
opcode byte value.
gas/ChangeLog
gas/config/tc-z80.c
opcodes/ChangeLog
opcodes/z80-dis.c