From b7712f8d34a62b72196017c71099138cd8eccf7a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 22 Feb 2005 12:58:35 +0000 Subject: * read.c: Warning fixes. * config/obj-elf.c: Likewise. --- gas/read.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gas/read.c') diff --git a/gas/read.c b/gas/read.c index c86b7d7..9ee8d49 100644 --- a/gas/read.c +++ b/gas/read.c @@ -4410,7 +4410,7 @@ void emit_leb128_expr (expressionS *exp, int sign) { operatorT op = exp->X_op; - int nbytes; + unsigned int nbytes; if (op == O_absent || op == O_illegal) { @@ -4442,7 +4442,7 @@ emit_leb128_expr (expressionS *exp, int sign) /* Let check_eh_frame know that data is being emitted. nbytes == -1 is a signal that this is leb128 data. It shouldn't optimize this away. */ - nbytes = -1; + nbytes = (unsigned int) -1; if (check_eh_frame (exp, &nbytes)) abort (); -- cgit v1.1