diff options
author | Alan Modra <amodra@gmail.com> | 2005-02-22 12:58:35 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-02-22 12:58:35 +0000 |
commit | b7712f8d34a62b72196017c71099138cd8eccf7a (patch) | |
tree | f1567847e97db556d3ebd7edd354af61ad6a2240 /gas/read.c | |
parent | dc3c06c291951d9aca329aa6a69fc3443f08f0b1 (diff) | |
download | gdb-b7712f8d34a62b72196017c71099138cd8eccf7a.zip gdb-b7712f8d34a62b72196017c71099138cd8eccf7a.tar.gz gdb-b7712f8d34a62b72196017c71099138cd8eccf7a.tar.bz2 |
* read.c: Warning fixes.
* config/obj-elf.c: Likewise.
Diffstat (limited to 'gas/read.c')
-rw-r--r-- | gas/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 (); |