summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/io_update.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-01-16 20:53:42 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-01-16 20:53:42 +0200
commitf6bd2c366b32262c2a5a1ac38713dc84bf7c9cbf (patch)
tree6464f369218560de977847b1dafc2952f89e37d9 /tests/ubi-tests/io_update.c
parent3bcddc65e3ffd69f29a68410c0604218cec8c34a (diff)
ubi-tests: fix build and some warnings
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/io_update.c')
-rw-r--r--tests/ubi-tests/io_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ubi-tests/io_update.c b/tests/ubi-tests/io_update.c
index a86b005..24c0563 100644
--- a/tests/ubi-tests/io_update.c
+++ b/tests/ubi-tests/io_update.c
@@ -211,7 +211,7 @@ static int test_update(int type)
int alignments[] = ALIGNMENTS(dev_info.leb_size);
struct ubi_vol_info vol_info;
char vol_node[strlen(UBI_VOLUME_PATTERN) + 100];
- int i;
+ unsigned int i;
for (i = 0; i < sizeof(alignments)/sizeof(int); i++) {
int leb_size;