aboutgitcodelistschat:MatrixIRC
diff options
context:
space:
mode:
-rw-r--r--cooker/call.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cooker/call.c b/cooker/call.c
index 5544ea7..bb53829 100644
--- a/cooker/call.c
+++ b/cooker/call.c
@@ -255,6 +255,8 @@ static union value parse_field(struct gluten_ctx *g, struct arg *args,
continue;
parse_field(g, args, &struct_start, index, f_inner,
f_value, false, add);
+ if (base_offset->type == OFFSET_NULL)
+ *base_offset = struct_start;
}
break;
default: