projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the cast used to prevent compile time warning about an always false test.
[deliverable/binutils-gdb.git]
/
opcodes
/
z80-dis.c
diff --git
a/opcodes/z80-dis.c
b/opcodes/z80-dis.c
index 8dc75987123e3230e18e1d6fdeeace9d58ae88e9..b6f0606a17a21edd7d0ea22ec36a3b424d1ba987 100644
(file)
--- a/
opcodes/z80-dis.c
+++ b/
opcodes/z80-dis.c
@@
-603,7
+603,7
@@
ld_ii_ii (struct buffer *buf, disassemble_info * info, const char *txt)
int p;
static const char *ii[2] = { "ix", "iy" };
int p;
static const char *ii[2] = { "ix", "iy" };
- p = (buf->data[buf->n_fetch - 2] == (char) 0xdd) ? 0 : 1;
+ p = (buf->data[buf->n_fetch - 2] == (
signed
char) 0xdd) ? 0 : 1;
c = buf->data[buf->n_fetch - 1];
if ((c & 0x07) != 0x07)
p = 1 - p; /* 0 -> 1, 1 -> 0 */
c = buf->data[buf->n_fetch - 1];
if ((c & 0x07) != 0x07)
p = 1 - p; /* 0 -> 1, 1 -> 0 */
This page took
0.026183 seconds
and
4
git commands to generate.