projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: mmc: omap_hsmmc: Update to support of-platdata
[oweals/u-boot.git]
/
tools
/
mkimage.c
diff --git
a/tools/mkimage.c
b/tools/mkimage.c
index b0c98f6f5512be510e463538a24d35d36dfdcd91..d982bc5665f1749c393e689d58122f3c513108ce 100644
(file)
--- a/
tools/mkimage.c
+++ b/
tools/mkimage.c
@@
-526,7
+526,7
@@
int main(int argc, char **argv)
+ 0x20, 0 };
int i = params.file_size;
for (; i < aligned_filesize; i++) {
- if (write(ifd, &i, 1) != 1) {
+ if (write(ifd,
(char *)
&i, 1) != 1) {
fprintf(stderr,
"%s: Write error on %s: %s\n",
params.cmdname,