Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
freeze325 committed Jan 12, 2021
1 parent cfdc25e commit 4dadd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TestServer/logic/test_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void TestServerMgr::onLogicCommnad(uint64_t topic, ::google::protobuf::Message&
{
std::string sValue = items.as_string();

data["power"] = std::stoll(sValue);
data["power"] = (uint64_t)std::stoll(sValue);
root[sKey] = data;
}
}
Expand Down

0 comments on commit 4dadd35

Please sign in to comment.