refactor: Change variable type of aircraftNumber

The aircraft number should always be positive
This commit is contained in:
Lars Toenning
2024-01-04 22:38:00 +01:00
parent 4b05c4200d
commit 78d0dc4435
15 changed files with 17 additions and 19 deletions

View File

@@ -40,7 +40,7 @@ namespace BlackSimPlugin::XPlane
m_interpolator->attachLogger(logger);
}
CInterpolationResult CXPlaneMPAircraft::getInterpolation(qint64 currentTimeSinceEpoc, const CInterpolationAndRenderingSetupPerCallsign &setup, int aircraftNumber) const
CInterpolationResult CXPlaneMPAircraft::getInterpolation(qint64 currentTimeSinceEpoc, const CInterpolationAndRenderingSetupPerCallsign &setup, uint32_t aircraftNumber) const
{
Q_ASSERT(m_interpolator);
return m_interpolator->getInterpolation(currentTimeSinceEpoc, setup, aircraftNumber);