Use size_t instead of int
This commit is contained in:
parent
8c55f1e50d
commit
d9dc5dc423
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user