fix all sign-compare warnings

This commit is contained in:
Daniel Agar
2018-07-01 09:36:55 +00:00
committed by Lorenz Meier
parent cf74166801
commit 9ce83f2208
54 changed files with 106 additions and 129 deletions
-1
View File
@@ -34,7 +34,6 @@ px4_add_module(
MODULE modules__replay
MAIN replay
COMPILE_FLAGS
-Wno-sign-compare # TODO: fix all sign-compare
STACK_MAIN 1000
STACK_MAX 4000
SRCS
+1 -1
View File
@@ -219,7 +219,7 @@ private:
/** keep track of file position to avoid adding a subscription multiple times. */
std::streampos _subscription_file_pos = 0;
uint64_t _read_until_file_position = 1ULL << 60; ///< read limit if log contains appended data
int64_t _read_until_file_position = 1ULL << 60; ///< read limit if log contains appended data
bool readFileHeader(std::ifstream &file);