diff options
author | Tom Rini <trini@konsulko.com> | 2017-06-06 07:13:39 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-06 07:13:39 -0400 |
commit | 24796d27be0d0f403ed6ad7e3022b33e36ac08b5 (patch) | |
tree | 32baa93caf855c166af80bd42350b4d511cddc25 | |
parent | b9eaeae19eb93993e18149f119fa360b13c5643f (diff) | |
parent | 34cc30af27165696a36274394f6ff019ed762ce6 (diff) | |
download | u-boot-24796d27be0d0f403ed6ad7e3022b33e36ac08b5.tar.gz |
Merge git://git.denx.de/u-boot-ubi
-rw-r--r-- | fs/ubifs/ubifs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c index cc397d605b..db29489eca 100644 --- a/fs/ubifs/ubifs.c +++ b/fs/ubifs/ubifs.c @@ -939,7 +939,7 @@ int ubifs_load(char *filename, u32 addr, u32 size) printf("Loading file '%s' to addr 0x%08x...\n", filename, addr); - err = ubifs_read(filename, (void *)addr, 0, size, &actread); + err = ubifs_read(filename, (void *)(uintptr_t)addr, 0, size, &actread); if (err == 0) { setenv_hex("filesize", actread); printf("Done\n"); |