summaryrefslogtreecommitdiffstats
path: root/common/test_textfile.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-29 17:32:08 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-29 17:32:30 +0100
commitbbbb1adae92d53840ef28ec955a388d2d2bf7c0a (patch)
tree72adbdafd28c2741015685a65c3c2ec08a337289 /common/test_textfile.c
parent97b1491ba3c93fa7d44b22f72e2be1eae6c96496 (diff)
Fix signed/unsigned integer comparison for helpers
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);