projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7219198
)
nasm.c: another readability cleanup
author
H. Peter Anvin
<hpa@linux.intel.com>
Thu, 26 Feb 2009 22:36:19 +0000
(14:36 -0800)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Thu, 26 Feb 2009 22:36:19 +0000
(14:36 -0800)
Yet another change for readability
nasm.c
patch
|
blob
|
history
diff --git
a/nasm.c
b/nasm.c
index
b2f7631
..
d0ab592
100644
(file)
--- 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,