summaryrefslogtreecommitdiff
path: root/src/rc/rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/rc.c')
-rw-r--r--src/rc/rc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c
index 612cad0..77d2c6d 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;