update: make the job id unsigned

Since the return value cannot be -1 anymore, we can make it unsigned.
This commit is contained in:
Max Kellermann
2008-10-09 19:20:05 +02:00
parent f1022bcc12
commit 4beba26c61
4 changed files with 13 additions and 9 deletions

View File

@@ -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]))) {