From: adilger Date: Thu, 2 Apr 2009 04:29:17 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_8_0_110~139 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=23a40d2d530be90245e1cd48f57b5268b68723ce;p=fs%2Flustre-release.git Branch b1_8 Quiet compiler warning for comparison between signed and unsigned types. --- diff --git a/lustre/lvfs/upcall_cache.c b/lustre/lvfs/upcall_cache.c index 34579cb..abf6872 100644 --- a/lustre/lvfs/upcall_cache.c +++ b/lustre/lvfs/upcall_cache.c @@ -216,7 +216,7 @@ static int entry_set_group_info(struct upcall_cache_entry *entry, __u32 primary, entry->ue_primary = primary; for (i = 0; i < ginfo->nblocks; i++) { - int cp_count = min(NGROUPS_PER_BLOCK, (int)ngroups); + int cp_count = min((int)NGROUPS_PER_BLOCK, (int)ngroups); int off = i * NGROUPS_PER_BLOCK; for (j = 0; j < cp_count; j++)