]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fix signed/unsigned compile warning
authorSage Weil <sage@newdream.net>
Thu, 29 Jul 2010 18:37:17 +0000 (11:37 -0700)
committerSage Weil <sage@newdream.net>
Tue, 3 Aug 2010 16:39:01 +0000 (09:39 -0700)
src/mon/LogMonitor.cc

index eeef24b100fccdeb97c5fe2ba4eb78628eb22ff9..ed7acc8d3a8c7ade2e48f360cd876086047ab5bb 100644 (file)
@@ -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);