From c2dd3ec32cacb92622d1bed9c087465e72c45e22 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 13 Dec 2009 17:52:05 -0800 Subject: [PATCH] Avoid a compiler warnings about a signed/unsigned mismatch. --- uidlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uidlist.c b/uidlist.c index b7b39142..f771fb6b 100644 --- a/uidlist.c +++ b/uidlist.c @@ -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) -- 2.34.1