mon: fix signed/unsigned compile warning

This commit is contained in:
Sage Weil 2010-07-29 11:37:17 -07:00
parent 4bcba121ac
commit be7d84b2b4

View 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);