=== modified file 'plugin-runner.c' --- plugin-runner.c 2011-12-31 23:05:34 +0000 +++ plugin-runner.c 2013-08-27 21:47:35 +0000 @@ -771,7 +771,7 @@ } /* Lower permissions */ - setgid(gid); + ret = setgid(gid); if(ret == -1){ error(0, errno, "setgid"); } === modified file 'plugins.d/mandos-client.c' --- plugins.d/mandos-client.c 2012-06-17 12:23:31 +0000 +++ plugins.d/mandos-client.c 2013-08-27 21:47:35 +0000 @@ -2331,7 +2331,7 @@ fprintf_plus(stderr, "Retrying in %d seconds\n", (int)retry_interval); } - sleep((int)retry_interval); + sleep((unsigned int)retry_interval); } if (not quit_now){ === modified file 'plugins.d/plymouth.c' --- plugins.d/plymouth.c 2011-12-31 23:05:34 +0000 +++ plugins.d/plymouth.c 2013-08-27 21:47:35 +0000 @@ -156,7 +156,7 @@ __attribute__((nonnull (2, 3))) bool exec_and_wait(pid_t *pid_return, const char *path, - const char **argv, bool interruptable, + const char * const *argv, bool interruptable, bool daemonize){ int status; int ret; @@ -312,7 +312,7 @@ return 0; } -const char **getargv(pid_t pid){ +const char * const * getargv(pid_t pid){ int cl_fd; char *cmdline_filename; ssize_t sret; @@ -379,7 +379,7 @@ return NULL; } argz_extract(cmdline, cmdline_len, argv); /* Create argv */ - return (const char **)argv; + return (const char * const *)argv; } int main(__attribute__((unused))int argc, @@ -460,7 +460,7 @@ } kill_and_wait(plymouth_command_pid); - const char **plymouthd_argv; + const char * const *plymouthd_argv; pid_t pid = get_pid(); if(pid == 0){ error_plus(0, 0, "plymouthd pid not found");