From d9dc5dc42314368a65579967c02af4945cb8c312 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Sun, 12 Feb 2012 02:23:04 +0100 Subject: [PATCH] Use size_t instead of int --- src/rc/rc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rc/rc.c b/src/rc/rc.c index 612cad01..77d2c6d4 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -333,11 +333,11 @@ set_krunlevel(const char *level) return true; } -static int +static size_t get_krunlevel(char *buffer, int buffer_len) { FILE *fp; - int i = 0; + size_t i = 0; if (!exists(RC_KRUNLEVEL)) return 0;