Commit 6f9705b5 authored by neverlord's avatar neverlord

fixed warning

parent 5f04a5db
......@@ -42,8 +42,7 @@ void actor_proxy::enqueue(const message& msg)
if ( content.size() > 0
&& content.utype_info_at(0) == typeid(atom_value))
{
auto val = *reinterpret_cast<const atom_value*>(content.at(0));
switch(to_int(val))
switch (to_int(*reinterpret_cast<const atom_value*>(content.at(0))))
{
case to_int(atom(":Link")):
{
......
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