summaryrefslogtreecommitdiffstats
path: root/binutils-2.22.52.0.3-fix-signedness-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.22.52.0.3-fix-signedness-warning.patch')
-rw-r--r--binutils-2.22.52.0.3-fix-signedness-warning.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/binutils-2.22.52.0.3-fix-signedness-warning.patch b/binutils-2.22.52.0.3-fix-signedness-warning.patch
new file mode 100644
index 0000000..544be93
--- /dev/null
+++ b/binutils-2.22.52.0.3-fix-signedness-warning.patch
@@ -0,0 +1,20 @@
+--- gas/config/tc-h8300.c.signedness~ 2012-05-07 18:08:33.000000000 +0100
++++ gas/config/tc-h8300.c 2012-05-30 21:26:20.668415305 +0100
+@@ -359,7 +359,7 @@
+ static char *skip_colonthing (char *, int *);
+ static char *parse_exp (char *, struct h8_op *);
+
+-static int constant_fits_width_p (struct h8_op *, unsigned int);
++static int constant_fits_width_p (struct h8_op *, offsetT);
+ static int constant_fits_size_p (struct h8_op *, int, int);
+
+ /*
+@@ -561,7 +561,7 @@
+ @@aa[:8] memory indirect. */
+
+ static int
+-constant_fits_width_p (struct h8_op *operand, unsigned int width)
++constant_fits_width_p (struct h8_op *operand, offsetT width)
+ {
+ offsetT num;
+