summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorwulf <wulf@pkgsrc.org>2006-12-29 22:47:13 +0000
committerwulf <wulf@pkgsrc.org>2006-12-29 22:47:13 +0000
commit80a01b3770f996cc082e84bcb2a23736c5661c30 (patch)
tree2b340781c6bb4154713475957f2a4a917e3ac9aa /cross
parent68f0f6ecedb491055aefb82134e10e2f7181d5c7 (diff)
downloadpkgsrc-80a01b3770f996cc082e84bcb2a23736c5661c30.tar.gz
Added missing data type casts
Diffstat (limited to 'cross')
-rw-r--r--cross/binutils/patches/patch-aa31
1 files changed, 31 insertions, 0 deletions
diff --git a/cross/binutils/patches/patch-aa b/cross/binutils/patches/patch-aa
new file mode 100644
index 00000000000..efe4235bc85
--- /dev/null
+++ b/cross/binutils/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.3 2006/12/29 22:47:13 wulf 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;
+