diff options
Diffstat (limited to 'output')
-rw-r--r-- | output/outbin.c | 4 | ||||
-rw-r--r-- | output/outmacho.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/output/outbin.c b/output/outbin.c index 5c2f0631..29659f00 100644 --- a/output/outbin.c +++ b/output/outbin.c @@ -655,7 +655,7 @@ static void bin_cleanup(void) fprintf(rf, "\n\nValue Name\n"); list_for_each(l, no_seg_labels) { found_label = lookup_label(l->name, &segment, &offset); - nasm_assert(found_label != LBL_NONE); + nasm_assert(found_label != LBL_none); fprintf(rf, "%08"PRIX64" %s\n", offset, l->name); } fprintf(rf, "\n\n"); @@ -668,7 +668,7 @@ static void bin_cleanup(void) fprintf(rf, "\n\nReal Virtual Name\n"); list_for_each(l, s->labels) { found_label = lookup_label(l->name, &segment, &offset); - nasm_assert(found_label != LBL_NONE); + nasm_assert(found_label != LBL_none); fprintf(rf, "%16"PRIX64" %16"PRIX64" %s\n", s->start + offset, s->vstart + offset, l->name); diff --git a/output/outmacho.c b/output/outmacho.c index 6cbaa012..08147883 100644 --- a/output/outmacho.c +++ b/output/outmacho.c @@ -1740,7 +1740,7 @@ static bool macho_set_section_attribute_by_symbol(const char *label, uint32_t fl int32_t nasm_seg; int64_t offset; - if (lookup_label(label, &nasm_seg, &offset) == LBL_NONE) { + if (lookup_label(label, &nasm_seg, &offset) == LBL_none) { nasm_error(ERR_NONFATAL, "unknown symbol `%s' in no_dead_strip", label); return false; } |