diff options
author | Max Kellermann <max@duempel.org> | 2008-10-09 19:20:05 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-09 19:20:05 +0200 |
commit | 4beba26c615ae88df81a9cb848c971594848fee4 (patch) | |
tree | 1d5cad4262c3917066ae45243727736a5ceb731e /src/command.c | |
parent | f1022bcc12dbdf5b7974fb1510197b12214fec32 (diff) | |
download | mpd-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.c | 2 |
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]))) { |