mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Replaced c++ standard integer types with Qt types
In order to be consistent, all standard integer types have been replaced by the equivalent Qt ones in voice/audio code. Projects covered - BlackCore - BlackMisc - sample_voice_client refs #99
This commit is contained in:
@@ -146,7 +146,7 @@ namespace BlackCore
|
||||
pos.lon = m_ownAircraft.longitude().value(CAngleUnit::deg());
|
||||
pos.groundSpeed = m_ownAircraft.getGroundSpeed().value(CSpeedUnit::kts());
|
||||
pos.rating = Cvatlib_Network::pilotRating_Unknown;
|
||||
pos.xpdrCode = static_cast<int16_t>(m_ownAircraft.getTransponderCode());
|
||||
pos.xpdrCode = static_cast<qint16>(m_ownAircraft.getTransponderCode());
|
||||
pos.xpdrMode = Cvatlib_Network::xpndrMode_Standby;
|
||||
switch (m_ownAircraft.getTransponderMode())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user