Commit c2dd3ec3 authored by Wayne Davison's avatar Wayne Davison

Avoid a compiler warnings about a signed/unsigned mismatch.

parent e9ad7bb1
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment