From 4200a378c4fedf64e89b9f8481d7cd09dac14965 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 14 Oct 2012 16:39:16 +0200 Subject: [PATCH] Fix compile error on Windows. --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index 19c05829..bec78ba0 100644 --- a/src/process.c +++ b/src/process.c @@ -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) -- 2.20.1