diff options
-rw-r--r-- | usr.bin/c99/c99.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/c99/c99.c b/usr.bin/c99/c99.c index db74cd7..17dc27e 100644 --- a/usr.bin/c99/c99.c +++ b/usr.bin/c99/c99.c @@ -94,7 +94,7 @@ main(int argc, char *argv[]) void addarg(const char *item) { - if (nargs + 1 > cargs) { + if (nargs + 1 >= cargs) { cargs += 16; if ((args = realloc(args, sizeof(*args) * cargs)) == NULL) err(1, "malloc"); |