Fix build with Clang

This fixes #313.
This commit is contained in:
Martin Wilke
2019-07-24 01:26:44 +08:00
committed by William Hubbs
parent c092ff6da1
commit 7ddc281ab6
6 changed files with 7 additions and 7 deletions

View File

@@ -669,7 +669,7 @@ int main(int argc, char **argv)
nav[len++] = p;
for (i = 0; i < opt; i++)
nav[i + len] = argv[i];
nav[i + len] = '\0';
nav[i + len] = NULL;
}
}
}