PR 25224
* z80-dis.c (ld_ii_ii): Use correct cast.
+2020-01-09 Nick Clifton <nickc@redhat.com>
+
+ PR 25224
+ * z80-dis.c (ld_ii_ii): Use correct cast.
+
2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
PR 25224
2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
PR 25224
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 */