summaryrefslogtreecommitdiff
path: root/common/env_nand.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-04-28 12:08:18 +0200
committerWolfgang Denk <wd@denx.de>2008-04-28 12:08:18 +0200
commit4ca79f477ebd25a6872e6196d80e2f5eff441376 (patch)
treefa08b5ac950b83248d49e681f66a5ed530eb71dc /common/env_nand.c
parentff8a7aa24a22fe332a57627a23c14bfd7e51599b (diff)
downloadu-boot-imx-4ca79f477ebd25a6872e6196d80e2f5eff441376.zip
u-boot-imx-4ca79f477ebd25a6872e6196d80e2f5eff441376.tar.gz
u-boot-imx-4ca79f477ebd25a6872e6196d80e2f5eff441376.tar.bz2
NAND: fix some strict-aliasing compiler warnings
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/env_nand.c')
-rw-r--r--common/env_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_nand.c b/common/env_nand.c
index ce0a251..b6a5b4a 100644
--- a/common/env_nand.c
+++ b/common/env_nand.c
@@ -154,7 +154,7 @@ int env_init(void)
#ifdef CFG_ENV_OFFSET_REDUND
int saveenv(void)
{
- ulong total;
+ size_t total;
int ret = 0;
env_ptr->flags++;