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
@@ -35,7 +35,6 @@ px4_add_module(
MAIN dataman
STACK_MAIN 1200
COMPILE_FLAGS
-Wno-sign-compare # TODO: fix all sign-compare
SRCS
dataman.cpp
)
+1 -1
View File
@@ -808,7 +808,7 @@ static int _ram_restart(dm_reset_reason reason)
static int
_file_restart(dm_reset_reason reason)
{
unsigned offset = 0;
int offset = 0;
int result = 0;
/* We need to scan the entire file and invalidate and data that should not persist after the last reset */