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 3e5bedd commit b183482Copy full SHA for b183482
includes/proxy.hpp
@@ -389,7 +389,7 @@ namespace ep {
389
return false;
390
};
391
392
- person->update_state(*reinterpret_cast<ep::state_t*>(is_udp + 10));
+ person->update_state(static_cast<ep::state_t>(is_udp + 10));
393
std::thread([this, person] {personal_network(person); }).detach();
394
395
unsigned char packet[10] = { 0x05, 0x00, 0x00, 0x01 };
0 commit comments