change some variable's type to op_err
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Fri, 13 May 2016 08:05:59 +0000 (04:05 -0400)
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Tue, 24 May 2016 12:44:19 +0000 (08:44 -0400)
commit6610dc6daa661b7cd042bc6313a29859b87263d9
tree45e0d9ed695eb8e098247ee04f3673509e6a31d9
parente70a7231e6347212258d43d2a46a20f7f7584386
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.
gas/ChangeLog
gas/config/tc-cr16.c
gas/config/tc-crx.c