summaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index ffe97d9d10e..990f4b9fec2 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -2985,8 +2985,8 @@ md_begin (void)
/* Type checks to compensate for the conversion through void * which
occurs during hash table insertion / lookup. */
- (void)(sets == &current_templates->start);
- (void)(end == &current_templates->end);
+ (void) sizeof (sets == &current_templates->start);
+ (void) sizeof (end == &current_templates->end);
for (; sets < end; ++sets)
if (str_hash_insert (op_hash, (*sets)->name, sets, 0))
as_fatal (_("duplicate %s"), (*sets)->name);