aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.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/command.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 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 1d2645cd1..2cada67d9 100644
--- a/src/command.c
+++ b/src/command.c
@@ -807,7 +807,7 @@ static int handleUpdate(struct client *client,
mpd_unused int argc, char *argv[])
{
char *path = NULL;
- int ret;
+ unsigned ret;
assert(argc <= 2);
if (argc == 2 && !(path = sanitizePathDup(argv[1]))) {