fdr: rely on fixed size confirm structures

This commit is contained in:
Justin Viiret
2016-12-20 15:10:47 +11:00
committed by Matthew Barr
parent 1b36594bda
commit 7984b26b14
2 changed files with 3 additions and 20 deletions

View File

@@ -101,7 +101,7 @@ void confWithBit(const struct FDRConfirm *fdrc, const struct FDR_Runtime_Args *a
*control = a->cb(loc - buf, i, li->id, a->ctxt);
out:
oldNext = li->next; // oldNext is either 0 or an 'adjust' value
li = (const struct LitInfo *)((const u8 *)li + oldNext + li->size);
li++;
} while (oldNext);
}