diff options
Diffstat (limited to 'nasmlib')
-rw-r--r-- | nasmlib/strlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nasmlib/strlist.c b/nasmlib/strlist.c index 506ad50e..a0687cce 100644 --- a/nasmlib/strlist.c +++ b/nasmlib/strlist.c @@ -108,7 +108,7 @@ strlist_vprintf(struct strlist *list, const char *fmt, va_list ap) if (!list) return NULL; - e = nasm_vaxprintf(offsetof(struct strlist_entry, str), fmt, ap); + e = nasm_vaxprintf(offsetin(*e, str), fmt, ap); e->size = nasm_aprintf_size(); if (list->uniq) { |