diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-03-23T13·52+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-03-23T13·52+0000 |
commit | 3a87163b2480eaf47d626580d20049387d942066 (patch) | |
tree | a31d78504771dd96ccae1da2526c22bc208dfec9 | |
parent | cacff1be886ed975bbef1b17151b25c633711256 (diff) |
* Shut up a GCC warning.
-rw-r--r-- | src/nix-worker/nix-worker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix-worker/nix-worker.cc b/src/nix-worker/nix-worker.cc index f0f821bdd750..54ac2a55e39c 100644 --- a/src/nix-worker/nix-worker.cc +++ b/src/nix-worker/nix-worker.cc @@ -112,11 +112,11 @@ static void sigPollHandler(int sigNo) _isInterrupted = 1; blockInt = 1; canSendStderr = false; - char * s = "SIGPOLL\n"; + const char * s = "SIGPOLL\n"; write(STDERR_FILENO, s, strlen(s)); } } else { - char * s = "spurious SIGPOLL\n"; + const char * s = "spurious SIGPOLL\n"; write(STDERR_FILENO, s, strlen(s)); } } |