aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-09 19:20:05 +0200
committerMax Kellermann <max@duempel.org>2008-10-09 19:20:05 +0200
commit4beba26c615ae88df81a9cb848c971594848fee4 (patch)
tree1d5cad4262c3917066ae45243727736a5ceb731e /src/database.c
parentf1022bcc12dbdf5b7974fb1510197b12214fec32 (diff)
downloadmpd-4beba26c615ae88df81a9cb848c971594848fee4.tar.gz
mpd-4beba26c615ae88df81a9cb848c971594848fee4.tar.xz
mpd-4beba26c615ae88df81a9cb848c971594848fee4.zip
update: make the job id unsigned
Since the return value cannot be -1 anymore, we can make it unsigned.
Diffstat (limited to '')
-rw-r--r--src/database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c
index 2581e408b..93ce2e96b 100644
--- a/src/database.c
+++ b/src/database.c
@@ -41,7 +41,7 @@ static time_t directory_dbModTime;
void
db_init(void)
{
- int ret;
+ unsigned ret;
music_root = directory_new("", NULL);