aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/client_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client_main.c')
-rw-r--r--src/client_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client_main.c b/src/client_main.c
index a895ccf..dd22508 100644
--- a/src/client_main.c
+++ b/src/client_main.c
@@ -73,7 +73,7 @@ int main(int argc, char *argv[])
if (ret < 0)
return ret;
- ret = client_main(client, argc - optind, argv + optind);
+ ret = client_main(client, (const char **)argv + optind);
if (ret < 0)
goto destroy_client;