[SLOF] [PATCH 04/13] tools: fixed compiler warnings
Adrian Reber
adrian at lisas.de
Wed Jun 15 18:29:51 AEST 2016
(cherry picked from commit e1e52adb54d91f19167ac57cf77bd5e42f338f07)
Cherry picked from https://lisas.de/~adrian/slof/slof.git/
Signed-off-by: Adrian Reber <adrian at lisas.de>
---
tools/sloffs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/sloffs.c b/tools/sloffs.c
index 9abe9e7..8d40e49 100644
--- a/tools/sloffs.c
+++ b/tools/sloffs.c
@@ -66,9 +66,9 @@ sloffs_list(const void *data)
{
struct sloffs *sloffs = (struct sloffs *)data;
const char *name_header = "File Name";
- int i;
- int max;
- int line;
+ unsigned int i;
+ unsigned int max;
+ unsigned int line;
/* find largest name */
max = strlen(name_header);;
--
2.7.4
More information about the SLOF
mailing list