aboutsummaryrefslogtreecommitdiff
path: root/src/state_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state_file.c')
-rw-r--r--src/state_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state_file.c b/src/state_file.c
index a4b2c108..3bc4f8f0 100644
--- a/src/state_file.c
+++ b/src/state_file.c
@@ -50,7 +50,7 @@ static void get_state_file_path(void)
void write_state_file(void)
{
- int i;
+ unsigned int i;
FILE *fp;
if (!sfpath)
@@ -72,7 +72,7 @@ void write_state_file(void)
void read_state_file(void)
{
struct stat st;
- int i;
+ unsigned int i;
FILE *fp;
get_state_file_path();