summaryrefslogtreecommitdiffstats
path: root/binutils-2.22.52.0.3-fix-signedness-warning.patch
blob: 544be93056ea75777e147b7b0d0ab83dfbdc0969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;