diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-27 07:07:27 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-31 00:57:11 -0400 |
commit | d92350111695f11809899144076c8bdfd9cd46f3 (patch) | |
tree | 3d00185500f7024f2797fcc9af495a753c20294c /gas/config/tc-z80.c | |
parent | b60ecbc6ddeaf7af8f2515841b58035f0d4d2db7 (diff) | |
download | gdb-d92350111695f11809899144076c8bdfd9cd46f3.zip gdb-d92350111695f11809899144076c8bdfd9cd46f3.tar.gz gdb-d92350111695f11809899144076c8bdfd9cd46f3.tar.bz2 |
make some variables unsigned
these places define char arrays containing values greater than 0x80 which
doesn't fit in an 8 bit signed char, but does fit in an unsigned one.
gas/ChangeLog:
2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-aarch64.c (aarch64_handle_align): Make the type of some
variables unsigned char[].
* config/tc-alpha.c (alpha_handle_align): Likewise.
* config/tc-arm.c (arm_handle_align): Likewise.
* config/tc-z80.c: Likewise.
Diffstat (limited to 'gas/config/tc-z80.c')
-rw-r--r-- | gas/config/tc-z80.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-z80.c b/gas/config/tc-z80.c index 094b8e6..2f52814 100644 --- a/gas/config/tc-z80.c +++ b/gas/config/tc-z80.c @@ -409,8 +409,8 @@ typedef const char * (asfunc)(char, char, const char*); typedef struct _table_t { const char* name; - char prefix; - char opcode; + unsigned char prefix; + unsigned char opcode; asfunc * fp; } table_t; |