]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
messages/MOSDOp: Cast in assert to eliminate warnings 6414/head
authorDavid Zafman <dzafman@redhat.com>
Wed, 28 Oct 2015 04:17:15 +0000 (21:17 -0700)
committerDavid Zafman <dzafman@redhat.com>
Wed, 28 Oct 2015 15:22:13 +0000 (08:22 -0700)
Fixes: #13625
Caused by 0bf2a79e

Signed-off-by: David Zafman <dzafman@redhat.com>
src/messages/MOSDOp.h

index 25a2cdf39681e7658718f6876126c90e1ee09341..259baa58264f9767921370c4d57f4aa38c6221b3 100755 (executable)
@@ -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);