diff options
Diffstat (limited to 'output/outbin.c')
-rw-r--r-- | output/outbin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/output/outbin.c b/output/outbin.c index 8baa648a..5c2f0631 100644 --- a/output/outbin.c +++ b/output/outbin.c @@ -642,7 +642,7 @@ static void bin_cleanup(void) if (map_control & MAP_SYMBOLS) { int32_t segment; int64_t offset; - bool found_label; + enum label_type found_label; fprintf(rf, "-- Symbols "); for (h = 68; h; h--) @@ -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); + 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); + nasm_assert(found_label != LBL_NONE); fprintf(rf, "%16"PRIX64" %16"PRIX64" %s\n", s->start + offset, s->vstart + offset, l->name); |