mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-26 23:58:19 -04:00
Avoid a compiler warnings about a signed/unsigned mismatch.
This commit is contained in:
1 parent
e9ad7bb1f8
commit
c2dd3ec32c
1 file changed
+1
-1
@@ -194,7 +194,7 @@ static struct idlist *recv_add_id(struct idlist **idlist_ptr, struct idlist *idm
|
||||
if (strcmp(node->name, name) != 0)
|
||||
continue;
|
||||
} else if (node->name) {
|
||||
if (id < node->id || id > (unsigned long)node->name)
|
||||
if (id < node->id || (unsigned long)id > (unsigned long)node->name)
|
||||
continue;
|
||||
} else {
|
||||
if (node->id != id)
|
||||
|
||||
Reference in new issue
Block a user