Fix compile error on Windows.
This commit is contained in:
parent
368727c3da
commit
4200a378c4
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ static bool install_service(void) {
|
|||
strncat(command, "\"", sizeof command - strlen(command));
|
||||
|
||||
for(char **argp = g_argv + 1; *argp; argp++) {
|
||||
char &space = strchr(*argp, ' ');
|
||||
char *space = strchr(*argp, ' ');
|
||||
strncat(command, " ", sizeof command - strlen(command));
|
||||
|
||||
if(space)
|
||||
|
|
Loading…
Reference in a new issue