Permalink
Browse files

Fix "warning: assignment discards qualifiers from pointer target type"

  • Loading branch information...
1 parent d86f7d7 commit 4e5cc8d559238206ba76b3438542a0b439db7380 @aspiers aspiers committed Mar 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main.c
View
@@ -840,11 +840,11 @@ static int read_arguments(int argc, char **argv)
if (!strcmp(arg1, "arbitrator")) {
cl.type = ACT_ARBITRATOR;
- logging_entity = DAEMON_NAME "-arbitrator";
+ logging_entity = (char *) DAEMON_NAME "-arbitrator";
optind = 2;
} else if (!strcmp(arg1, "site")) {
cl.type = ACT_SITE;
- logging_entity = DAEMON_NAME "-site";
+ logging_entity = (char *) DAEMON_NAME "-site";
optind = 2;
} else if (!strcmp(arg1, "client")) {
cl.type = ACT_CLIENT;

0 comments on commit 4e5cc8d

Please sign in to comment.