We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdf81fa commit ce37469Copy full SHA for ce37469
src/mon/MDSMonitor.cc
@@ -87,7 +87,7 @@ namespace TOPNSPC::common {
87
template<> bool cmd_getval(const cmdmap_t& cmdmap,
88
string_view k, mds_gid_t &val)
89
{
90
- return cmd_getval(cmdmap, k, (int64_t&)val);
+ return cmd_getval(cmdmap, k, reinterpret_cast<int64_t&>(val));
91
}
92
93
0 commit comments