From: Yan Jun Date: Tue, 27 Jun 2017 09:16:43 +0000 (+0800) Subject: osd: use dump_unsigned consistent with the variable's type X-Git-Tag: ses5-milestone8~1^2~2^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=33e0ced38eebb96cc5254e3a70618f63bba461a1;p=ceph.git osd: use dump_unsigned consistent with the variable's type Signed-off-by: Yan Jun --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 142f3b2aa849..b14bbff6b6c4 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -2110,8 +2110,8 @@ bool OSD::asok_command(string admin_command, cmdmap_t& cmdmap, string format, it->wi.name.dump(f); f->close_section(); //entity_name_t - f->dump_int("cookie", it->wi.cookie); - f->dump_int("timeout", it->wi.timeout_seconds); + f->dump_unsigned("cookie", it->wi.cookie); + f->dump_unsigned("timeout", it->wi.timeout_seconds); f->open_object_section("entity_addr_t"); it->wi.addr.dump(f);