aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-crx.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-13 04:05:59 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-24 08:44:19 -0400
commit6610dc6daa661b7cd042bc6313a29859b87263d9 (patch)
tree45e0d9ed695eb8e098247ee04f3673509e6a31d9 /gas/config/tc-crx.c
parente70a7231e6347212258d43d2a46a20f7f7584386 (diff)
downloadgdb-6610dc6daa661b7cd042bc6313a29859b87263d9.zip
gdb-6610dc6daa661b7cd042bc6313a29859b87263d9.tar.gz
gdb-6610dc6daa661b7cd042bc6313a29859b87263d9.tar.bz2
change some variable's type to op_err
They only hold values from the op_err enum, so it should be clearer to give them the enum type. gas/ChangeLog: 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-cr16.c (check_range): Make type of retval op_err. * config/tc-crx.c: Likewise.
Diffstat (limited to 'gas/config/tc-crx.c')
-rw-r--r--gas/config/tc-crx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-crx.c b/gas/config/tc-crx.c
index 4b829c2..9a943d5 100644
--- a/gas/config/tc-crx.c
+++ b/gas/config/tc-crx.c
@@ -1325,7 +1325,7 @@ static op_err
check_range (long *num, int bits, int unsigned flags, int update)
{
uint32_t max;
- int retval = OP_LEGAL;
+ op_err retval = OP_LEGAL;
int bin;
uint32_t upper_64kb = 0xffff0000;
uint32_t value = *num;