Fix compile error

This commit is contained in:
Kirigaya Kazuto 2021-08-23 10:07:22 +00:00
parent 30ea25cc04
commit 84e9e9325e

View File

@ -151,7 +151,7 @@ int main(int argc, char *argv[])
{
fprintf(stderr, "Loading frpc...\n");
const char* callArgs[] = {"frpc", "-c", "frpc.ini", NULL};
if (execv("/frpc", (char* const*)callArgs) < 0)
if (execv("/frpc", (char**)callArgs) < 0)
{
perror("execv");
}