From: Sage Weil Date: Sun, 31 Aug 2014 05:39:04 +0000 (-0700) Subject: common/LogEntry: fix warning on x86_64 X-Git-Tag: v0.86~162 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4c9fdbf648d5145fb2f67353234183025a295b0b;p=ceph.git common/LogEntry: fix warning on x86_64 Signed-off-by: Sage Weil --- diff --git a/src/common/LogEntry.cc b/src/common/LogEntry.cc index 53acf0f7e4ee..42389f0f2c87 100644 --- a/src/common/LogEntry.cc +++ b/src/common/LogEntry.cc @@ -156,9 +156,9 @@ void LogEntry::log_to_syslog(string level, string facility) if (l <= min) { int f = string_to_syslog_facility(facility); syslog(l | f, "%s %llu : %s", - stringify(who).c_str(), - seq, - msg.c_str()); + stringify(who).c_str(), + (long long unsigned)seq, + msg.c_str()); } }