From 8108c952aa7a310f91c00fd1a58edb7dd874f7b8 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Thu, 6 Jun 2013 13:01:40 -0700 Subject: [PATCH] AuthMonitor: fix signed/unsigned comparison warning Signed-off-by: Dan Mick --- src/mon/AuthMonitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/AuthMonitor.cc b/src/mon/AuthMonitor.cc index 93ad368f186..1d4158f9e9d 100644 --- a/src/mon/AuthMonitor.cc +++ b/src/mon/AuthMonitor.cc @@ -883,7 +883,7 @@ bool AuthMonitor::prepare_global_id(MMonGlobalID *m) void AuthMonitor::upgrade_format() { - int current = 1; + unsigned int current = 1; if (format_version >= current) { dout(20) << __func__ << " format " << format_version << " is current" << dendl; return;