Commit 9524070a authored by neverlord's avatar neverlord

type correctness

parent aaced3c3
......@@ -67,7 +67,7 @@ yielding_message_queue_impl::filter_msg(const any_tuple& msg)
{
switch ((std::uint64_t) *reinterpret_cast<const atom_value*>(msg.at(0)))
{
case atom(":Exit"):
case static_cast<std::uint64_t>(atom(":Exit")):
{
if (m_trap_exit == false)
{
......@@ -83,7 +83,7 @@ yielding_message_queue_impl::filter_msg(const any_tuple& msg)
}
break;
}
case atom(":Timeout"):
case static_cast<std::uint64_t>(atom(":Timeout")):
{
if (m_ui32_uti == &(msg.utype_info_at(1)))
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment