mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-07 19:30:47 -04:00
32 lines
846 B
Plaintext
32 lines
846 B
Plaintext
$NetBSD: patch-aa,v 1.1 2016/06/19 16:18:28 wiz Exp $
|
|
|
|
--- opcodes/h8300-dis.c.orig 2006-12-28 13:58:41.000000000 +1030
|
|
+++ opcodes/h8300-dis.c 2006-12-28 13:59:59.000000000 +1030
|
|
@@ -362,7 +362,7 @@
|
|
for (qi = h8_instructions; qi->opcode->name; qi++)
|
|
{
|
|
const struct h8_opcode *q = qi->opcode;
|
|
- op_type *nib = q->data.nib;
|
|
+ op_type *nib = (op_type *) q->data.nib;
|
|
unsigned int len = 0;
|
|
|
|
while (1)
|
|
@@ -640,7 +640,7 @@
|
|
}
|
|
if (strncmp (q->name, "mova", 4) == 0)
|
|
{
|
|
- op_type *args = q->args.nib;
|
|
+ op_type *args = (op_type *) q->args.nib;
|
|
|
|
if (args[1] == (op_type) E)
|
|
{
|
|
@@ -666,7 +666,7 @@
|
|
}
|
|
/* Fill in the args. */
|
|
{
|
|
- op_type *args = q->args.nib;
|
|
+ op_type *args = (op_type *) q->args.nib;
|
|
int hadone = 0;
|
|
int nargs;
|
|
|