projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools: ifdtool: Write correct offset on 32-bit machine
[oweals/u-boot.git]
/
tools
/
ifdtool.c
diff --git
a/tools/ifdtool.c
b/tools/ifdtool.c
index 1d61df19f231016f0eee82d275bf47c63e258215..df166161f439f7fe66d2f9f2675298e2785bb20f 100644
(file)
--- a/
tools/ifdtool.c
+++ b/
tools/ifdtool.c
@@
-987,7
+987,7
@@
int main(int argc, char *argv[])
print_usage(argv[0]);
exit(EXIT_FAILURE);
}
- ifile->addr = strtol(optarg, NULL, 0);
+ ifile->addr = strtol
l
(optarg, NULL, 0);
ifile->type = opt == 'f' ? IF_fdt :
opt == 'U' ? IF_uboot : IF_normal;
if (ifile->type == IF_fdt)