From 23a40d2d530be90245e1cd48f57b5268b68723ce Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 2 Apr 2009 04:29:17 +0000 Subject: [PATCH] Branch b1_8 Quiet compiler warning for comparison between signed and unsigned types. --- lustre/lvfs/upcall_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) -- 1.8.3.1