Skip to content

Commit

Permalink
Fix C++14 warning
Browse files Browse the repository at this point in the history
Space required before macro. No functional changes.
  • Loading branch information
adiknoth committed Jun 11, 2016
1 parent 6915788 commit 43efc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posix/JackPosixServerLaunch.cpp
Expand Up @@ -124,7 +124,7 @@ static void start_server_classic_aux(const char* server_name)

if (!good) {
command = (char*)(JACK_LOCATION "/jackd");
strncpy(arguments, JACK_LOCATION "/jackd -T -d "JACK_DEFAULT_DRIVER, 255);
strncpy(arguments, JACK_LOCATION "/jackd -T -d " JACK_DEFAULT_DRIVER, 255);
} else {
result = strcspn(arguments, " ");
command = (char*)malloc(result + 1);
Expand Down

0 comments on commit 43efc94

Please sign in to comment.