diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2009-02-26 14:36:19 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-02-26 14:36:19 -0800 |
commit | 3213a5774024146be5493c750d71673d5361e108 (patch) | |
tree | e8f646eee4914a50723715956867e03adc8135ca /nasm.c | |
parent | 7219198d729db708eddfe28615664ef55d2dfeed (diff) | |
download | nasm-3213a5774024146be5493c750d71673d5361e108.tar.gz |
nasm.c: another readability cleanup
Yet another change for readability
Diffstat (limited to 'nasm.c')
-rw-r--r-- | nasm.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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, |