From 61834850471ba1aec00a3ebd61400920eaddb152 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Fri, 8 Feb 2013 23:20:27 -0700 Subject: [PATCH] Fix signed/unsigned comparison warnings on GCC 4.7 --- src/cache_cf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 9d7d1afc00..7aa6610629 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -291,7 +291,7 @@ update_maxobjsize(void) // Ensure that we do not discard objects which could be stored only in memory. // It is governed by maximum_object_size_in_memory (for now) // TODO: update this to check each in-memory location (SMP and local memory limits differ) - if (ms < Config.Store.maxInMemObjSize) + if (ms < statc_cast(Config.Store.maxInMemObjSize)) ms = Config.Store.maxInMemObjSize; store_maxobjsize = ms; -- 2.47.3