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/env: Fix environment size and CRC on 64-bit hosts
[oweals/u-boot.git]
/
tools
/
env
/
fw_env.c
diff --git
a/tools/env/fw_env.c
b/tools/env/fw_env.c
index 30d5b037f09b21a252d15ca8fc447c570de43138..1173eea78206dca66942380f49df22aa5004ae48 100644
(file)
--- a/
tools/env/fw_env.c
+++ b/
tools/env/fw_env.c
@@
-125,7
+125,7
@@
static int get_config (char *);
#endif
static inline ulong getenvsize (void)
{
- ulong rc = CUR_ENVSIZE - sizeof(
long
);
+ ulong rc = CUR_ENVSIZE - sizeof(
uint32_t
);
if (HaveRedundEnv)
rc -= sizeof (char);