mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 07:23:34 +08:00
Mark FILESYSTEM_ERRCOUNT_NOTIFY_LIMIT as an unsigned int
Fix the compilationof mavlink_mission.cpp failing with error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
This commit is contained in:
@@ -133,7 +133,7 @@ private:
|
|||||||
|
|
||||||
bool _verbose;
|
bool _verbose;
|
||||||
|
|
||||||
static constexpr int FILESYSTEM_ERRCOUNT_NOTIFY_LIMIT = 2; ///< Error count limit before stopping to report FS errors
|
static constexpr unsigned int FILESYSTEM_ERRCOUNT_NOTIFY_LIMIT = 2; ///< Error count limit before stopping to report FS errors
|
||||||
|
|
||||||
/* do not allow top copying this class */
|
/* do not allow top copying this class */
|
||||||
MavlinkMissionManager(MavlinkMissionManager &);
|
MavlinkMissionManager(MavlinkMissionManager &);
|
||||||
|
|||||||
Reference in New Issue
Block a user