From: Sage Weil Date: Thu, 29 Jul 2010 18:37:17 +0000 (-0700) Subject: mon: fix signed/unsigned compile warning X-Git-Tag: v0.21.1~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=be7d84b2b4365af578415304590a8ca5e85d63ca;p=ceph.git mon: fix signed/unsigned compile warning --- diff --git a/src/mon/LogMonitor.cc b/src/mon/LogMonitor.cc index eeef24b100fc..ed7acc8d3a8c 100644 --- a/src/mon/LogMonitor.cc +++ b/src/mon/LogMonitor.cc @@ -170,7 +170,7 @@ bool LogMonitor::update_from_paxos() // trim - int max = 500; + unsigned max = 500; if (mon->is_leader() && paxosv > max) paxos->trim_to(paxosv - max);