summaryrefslogtreecommitdiffstats
path: root/daemons/clvmd/clvmd.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2011-04-08 14:40:18 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2011-04-08 14:40:18 +0000
commita1eba521e3cd652a8e72e662866e593d6f949fc2 (patch)
tree6d005ee70436569d0f2e559ec180a02d9d414ddd /daemons/clvmd/clvmd.c
parent2c5827076b3dc43df52ef9f8150e00eb4d3de1f0 (diff)
downloadlvm2-a1eba521e3cd652a8e72e662866e593d6f949fc2.tar.gz
lvm2-a1eba521e3cd652a8e72e662866e593d6f949fc2.tar.xz
lvm2-a1eba521e3cd652a8e72e662866e593d6f949fc2.zip
Fix some unmatching sign comparation gcc warnings
Simple replacement for unsigned type - usually in for() loops.
Diffstat (limited to 'daemons/clvmd/clvmd.c')
-rw-r--r--daemons/clvmd/clvmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/clvmd/clvmd.c b/daemons/clvmd/clvmd.c
index d50213e6..5677d322 100644
--- a/daemons/clvmd/clvmd.c
+++ b/daemons/clvmd/clvmd.c
@@ -2157,7 +2157,7 @@ static struct local_client *find_client(int clientid)
{
struct local_client *thisfd;
for (thisfd = &local_client_head; thisfd != NULL; thisfd = thisfd->next) {
- if (thisfd->fd == ntohl(clientid))
+ if (thisfd->fd == (int)ntohl(clientid))
return thisfd;
}
return NULL;