mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 22:03:34 +08:00
fix all sign-compare warnings
This commit is contained in:
committed by
Lorenz Meier
parent
cf74166801
commit
9ce83f2208
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user