summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-29 13:47:23 +0100
committerMax Kellermann <max@duempel.org>2013-12-29 13:47:29 +0100
commit0b1ad27ba8ecb8799e2a34ecad9206619cb8d14e (patch)
tree0a41327484a4ab9c26d67ce6f5e8051a905687a2
parent6a1b2f0387b4b8a8dc5e63c5d433a880a7738503 (diff)
Daemon: fix typo in cast
-rw-r--r--src/Daemon.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Daemon.cxx b/src/Daemon.cxx
index 4f214517e..088e7926d 100644
--- a/src/Daemon.cxx
+++ b/src/Daemon.cxx
@@ -52,7 +52,7 @@ static char *user_name;
static uid_t user_uid = (uid_t)-1;
/** the Unix group id which MPD runs as */
-static gid_t user_gid = (pid_t)-1;
+static gid_t user_gid = (gid_t)-1;
/** the absolute path of the pidfile */
static AllocatedPath pidfile = AllocatedPath::Null();