diff mbox

[04/13] tools: fixed compiler warnings

Message ID 1465979400-2964-5-git-send-email-adrian@lisas.de
State Accepted
Headers show

Commit Message

Adrian Reber June 15, 2016, 8:29 a.m. UTC
(cherry picked from commit e1e52adb54d91f19167ac57cf77bd5e42f338f07)

Cherry picked from https://lisas.de/~adrian/slof/slof.git/

Signed-off-by: Adrian Reber <adrian@lisas.de>
---
 tools/sloffs.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox

Patch

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);;