summaryrefslogtreecommitdiffstats
path: root/common/test_textfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/test_textfile.c')
-rw-r--r--common/test_textfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/test_textfile.c b/common/test_textfile.c
index 7d48fa4e..29ca493c 100644
--- a/common/test_textfile.c
+++ b/common/test_textfile.c
@@ -43,7 +43,8 @@ int main(int argc, char *argv[])
{
char filename[] = "/tmp/textfile";
char key[18], value[512], *str;
- int i, j, fd, err, size, max = 10;
+ unsigned int i, j, size, max = 10;
+ int fd, err;
size = getpagesize();
printf("System uses a page size of %d bytes\n\n", size);