Skip to content

Commit 4899b2c

Browse files
committed
Merge PR ceph#62674 into main
* refs/pull/62674/head: mon: Fix cast warning Reviewed-by: Kefu Chai <[email protected]> Reviewed-by: Venky Shankar <[email protected]>
2 parents fe058ef + ce37469 commit 4899b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mon/MDSMonitor.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ namespace TOPNSPC::common {
8787
template<> bool cmd_getval(const cmdmap_t& cmdmap,
8888
string_view k, mds_gid_t &val)
8989
{
90-
return cmd_getval(cmdmap, k, (int64_t&)val);
90+
return cmd_getval(cmdmap, k, reinterpret_cast<int64_t&>(val));
9191
}
9292

9393
template<> bool cmd_getval(const cmdmap_t& cmdmap,

0 commit comments

Comments
 (0)