diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-19 16:28:46 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-19 16:28:46 -0400 |
commit | 29be3d971133bbb6f45008d877d1094ff9276123 (patch) | |
tree | e14181479706f968328a65265b1bdc94c3f50d7f /foreign.c | |
parent | b5daaa00a4b1049f5e2ddc0bb658a17e0ee1e48f (diff) |
#ifs inside structs
Diffstat (limited to 'foreign.c')
-rw-r--r-- | foreign.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,7 +176,7 @@ static bool arg_list_start(av_alist *arg_list, void (*fn)(), Value *return_val, splittable = true; size_t word_size = sizeof(__avword); arr_foreach(struc->fields, Field, f) { - if (f->offset / word_size != (f->offset + compiler_sizeof(&f->type) - 1) / word_size) { + if (f->offset / word_size != (f->offset + compiler_sizeof(f->type) - 1) / word_size) { splittable = false; break; } |