X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=format_check.c;h=d666d1a7eab39eea864937e1600c023f23a2143e;hb=c58c01e7c180f68d3d3a721997693abcc6e26352;hp=f572d145a4595c644ce64bf1db395b0cec75525e;hpb=64446103e824b47f35a83737e2093ee741168651;p=cparser diff --git a/format_check.c b/format_check.c index f572d14..d666d1a 100644 --- a/format_check.c +++ b/format_check.c @@ -247,6 +247,7 @@ break_fmt_flags: /* minimum field width */ if (fmt == '*') { + fmt = vchar.next(&vchar); if (arg == NULL) { warningf(pos, "missing argument for '*' field width in conversion specification"); return; @@ -267,6 +268,7 @@ break_fmt_flags: if (fmt == '.') { fmt = vchar.next(&vchar); if (fmt == '*') { + fmt = vchar.next(&vchar); if (arg == NULL) { warningf(pos, "missing argument for '*' precision in conversion specification"); return;