Fixed compiler warning.

This commit is contained in:
hiker 2016-12-09 09:18:56 +11:00
parent 04d1d4817a
commit a8d3b6b0df

View File

@ -90,7 +90,7 @@ void GameProtocol::update(float dt)
// Clear left-over data from previous frame. This way the network
// string will increase till it reaches maximum size necessary
m_data_to_send->clear();
m_data_to_send->addUInt8(m_all_actions.size());
m_data_to_send->addUInt8( uint8_t( m_all_actions.size() ) );
// Add all actions
for (auto a : m_all_actions)