diff --git a/src/link/output.c b/src/link/output.c index 6f99e66e..6c2e17d5 100644 --- a/src/link/output.c +++ b/src/link/output.c @@ -240,7 +240,7 @@ static void writeSymBank(struct SortedSections const *bankSections) minSectList = sectList.addr < zlSectList.addr ? §List : &zlSectList; - } else if (sectList.sect) { + } else if (sectList.sections) { sectList.sym = sectList.sect->symbols[sectList.i]; sectList.addr = sectList.sym->offset + sectList.sect->org;