From: David Zafman Date: Wed, 28 Oct 2015 04:17:15 +0000 (-0700) Subject: messages/MOSDOp: Cast in assert to eliminate warnings X-Git-Tag: v10.0.0~37^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F6414%2Fhead;p=ceph.git messages/MOSDOp: Cast in assert to eliminate warnings Fixes: #13625 Caused by 0bf2a79e Signed-off-by: David Zafman --- diff --git a/src/messages/MOSDOp.h b/src/messages/MOSDOp.h index 25a2cdf3968..259baa58264 100755 --- a/src/messages/MOSDOp.h +++ b/src/messages/MOSDOp.h @@ -99,7 +99,7 @@ public: return reqid; } else { if (!final_decode_needed) - assert(reqid.inc == client_inc); // decode() should have done this + assert(reqid.inc == (int32_t)client_inc); // decode() should have done this return osd_reqid_t(get_orig_source(), reqid.inc, header.tid);