From 84e9e9325e9584297b05bd7ba191159f2a4c2b41 Mon Sep 17 00:00:00 2001 From: Kiritow <1362050620@qq.com> Date: Mon, 23 Aug 2021 10:07:22 +0000 Subject: [PATCH] Fix compile error --- frpc/launcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frpc/launcher.cpp b/frpc/launcher.cpp index ed9fa88..8c3f6b9 100644 --- a/frpc/launcher.cpp +++ b/frpc/launcher.cpp @@ -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"); }