aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386-intel.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-07-18 16:12:35 +0000
committerNick Clifton <nickc@redhat.com>2013-07-18 16:12:35 +0000
commitfaf786e66817bcfc5b6ead80cafe6acc3149df02 (patch)
treec5efcdbd1c2a420ce11e5463fda28abb4641b8a9 /gas/config/tc-i386-intel.c
parent623cc2854011a4ffa83755d7ce9a9e078fa7ec80 (diff)
downloadgdb-faf786e66817bcfc5b6ead80cafe6acc3149df02.zip
gdb-faf786e66817bcfc5b6ead80cafe6acc3149df02.tar.gz
gdb-faf786e66817bcfc5b6ead80cafe6acc3149df02.tar.bz2
* ar.c (usage): Fix C conformance issue.
* config/tc-i386-intel.c (i386_intel_operand): Fixed signed vs unsigned comparison.
Diffstat (limited to 'gas/config/tc-i386-intel.c')
-rw-r--r--gas/config/tc-i386-intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-i386-intel.c b/gas/config/tc-i386-intel.c
index aefdc2a..9080861 100644
--- a/gas/config/tc-i386-intel.c
+++ b/gas/config/tc-i386-intel.c
@@ -792,7 +792,7 @@ i386_intel_operand (char *operand_string, int got_a_float)
|| intel_state.is_mem)
{
/* Memory operand. */
- if (i.mem_operands
+ if ((int) i.mem_operands
>= 2 - !current_templates->start->opcode_modifier.isstring)
{
/* Handle