From 3213a5774024146be5493c750d71673d5361e108 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 26 Feb 2009 14:36:19 -0800 Subject: [PATCH] nasm.c: another readability cleanup Yet another change for readability --- nasm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nasm.c b/nasm.c index b2f7631..d0ab592 100644 --- a/nasm.c +++ b/nasm.c @@ -1530,9 +1530,8 @@ static void assemble_file(char *fname, StrList **depend_ptr) if (output_ins.operands == 1 && (output_ins.oprs[0].type & IMMEDIATE) && output_ins.oprs[0].wrt == NO_SEG) { - int isext = - output_ins.oprs[0]. - opflags & OPFLAG_EXTERN; + bool isext = !!(output_ins.oprs[0].opflags + & OPFLAG_EXTERN); def_label(output_ins.label, output_ins.oprs[0].segment, output_ins.oprs[0].offset, NULL, -- 2.7.4