Skip to content
Snippets Groups Projects
Commit 2c947735 authored by Arnaud Degroote's avatar Arnaud Degroote
Browse files

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]
parent fc47f62b
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,7 @@ private:
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 */
MavlinkMissionManager(MavlinkMissionManager &);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment