diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-04 09:28:01 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-11 08:14:42 +0200 |
commit | a0962885af0a32bd841819a7c3f1c11310bfc074 (patch) | |
tree | c3cf4acdda44e15b09fd4203eb7e0bf5286dc33a /commands | |
parent | 76c0935726672e5d87608eddfe79f127c9a3bc45 (diff) | |
download | barebox-a0962885af0a32bd841819a7c3f1c11310bfc074.tar.gz barebox-a0962885af0a32bd841819a7c3f1c11310bfc074.tar.xz |
oftree command: Use size_t for size
read_file takes a size_t argument as size, so use this type for the
size variable.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/oftree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/oftree.c b/commands/oftree.c index 983a0a59ea..49976bc02a 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; |