From dd49983ad91221b5b547a0225f13d2d91205522f Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Thu, 24 Feb 2011 20:16:39 +0100 Subject: [PATCH] logger: fix variable type compiler warning Signed-off-by: Sami Kerola --- misc-utils/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc-utils/logger.c b/misc-utils/logger.c index 987339990f..a61959d6bb 100644 --- a/misc-utils/logger.c +++ b/misc-utils/logger.c @@ -216,7 +216,7 @@ main(int argc, char **argv) { /* log input line if appropriate */ if (argc > 0) { register char *p, *endp; - int len; + size_t len; for (p = buf, endp = buf + sizeof(buf) - 2; *argv;) { len = strlen(*argv); -- 2.47.3