Use size_t instead of int

This commit is contained in:
Christian Ruppert 2012-02-12 02:23:04 +01:00
parent 8c55f1e50d
commit d9dc5dc423

View File

@ -333,11 +333,11 @@ set_krunlevel(const char *level)
return true; return true;
} }
static int static size_t
get_krunlevel(char *buffer, int buffer_len) get_krunlevel(char *buffer, int buffer_len)
{ {
FILE *fp; FILE *fp;
int i = 0; size_t i = 0;
if (!exists(RC_KRUNLEVEL)) if (!exists(RC_KRUNLEVEL))
return 0; return 0;