summaryrefslogtreecommitdiff
path: root/output
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2003-09-12 20:49:25 +0000
committerH. Peter Anvin <hpa@zytor.com>2003-09-12 20:49:25 +0000
commit97b7e0a23ace1776b7ce80cac9add3fb764d5d27 (patch)
tree7d64d03b96d48f723dc9aadf4f206f2dd6357bd3 /output
parent528d860571e7723733aa0b2c41fbce790514dfb4 (diff)
downloadnasm-97b7e0a23ace1776b7ce80cac9add3fb764d5d27.tar.gz
nasm-97b7e0a23ace1776b7ce80cac9add3fb764d5d27.tar.bz2
nasm-97b7e0a23ace1776b7ce80cac9add3fb764d5d27.zip
Fix list iterator
Diffstat (limited to 'output')
-rw-r--r--output/outieee.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outieee.c b/output/outieee.c
index 3546ab0..a8cb6cd 100644
--- a/output/outieee.c
+++ b/output/outieee.c
@@ -1296,7 +1296,7 @@ static void dbgls_linnum (const char *lnfname, long lineno, long segto)
if (!seg)
error (ERR_PANIC, "lineno directed to nonexistent segment?");
- for (fn = fnhead; fn; fn = fnhead->next) {
+ for (fn = fnhead; fn; fn = fn->next) {
if (!nasm_stricmp(lnfname,fn->name))
break;
i++;