read_file takes a size_t argument as size, so use this type for the
size variable.

Signed-off-by: Sascha Hauer <[email protected]>
---
 commands/oftree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/oftree.c b/commands/oftree.c
index 983a0a5..49976bc 100644
--- a/commands/oftree.c
+++ b/commands/oftree.c
@@ -42,7 +42,7 @@
 static int do_oftree(int argc, char *argv[])
 {
        struct fdt_header *fdt = NULL;
-       int size;
+       size_t size;
        int opt;
        int probe = 0;
        char *load = NULL;
-- 
2.0.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to