diff --git a/src/cmd/6g/gen.c b/src/cmd/6g/gen.c index 7925c5352a4..3da034e2494 100644 --- a/src/cmd/6g/gen.c +++ b/src/cmd/6g/gen.c @@ -553,7 +553,7 @@ argsize(Type *t) x = fp->width + fp->type->width; if(x > w) w = x; - fp = structnext(&save); + fp = funcnext(&save); } w = (w+7) & ~7;