From: Wolfgang Denk <wd@denx.de>
Date: Tue, 29 Apr 2008 21:32:20 +0000 (+0200)
Subject: common/env_nand.c: fix one more incompatible pointer type issue
X-Git-Tag: v2025.01-rc5-pxa1908~22182
X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20.RelPermalink%20%7D%7D?a=commitdiff_plain;h=f7b16a0a4d571dd33b2b5185a54f7ddc311f89d4;p=u-boot.git

common/env_nand.c: fix one more incompatible pointer type issue

Signed-off-by: Wolfgang Denk <wd@denx.de>
---

diff --git a/common/env_nand.c b/common/env_nand.c
index b6a5b4aaab..0dddddf0a1 100644
--- a/common/env_nand.c
+++ b/common/env_nand.c
@@ -211,7 +211,7 @@ int saveenv(void)
 void env_relocate_spec (void)
 {
 #if !defined(ENV_IS_EMBEDDED)
-	ulong total;
+	size_t total;
 	int crc1_ok = 0, crc2_ok = 0;
 	env_t *tmp_env1, *tmp_env2;