From f7b16a0a4d571dd33b2b5185a54f7ddc311f89d4 Mon Sep 17 00:00:00 2001
From: Wolfgang Denk <wd@denx.de>
Date: Tue, 29 Apr 2008 23:32:20 +0200
Subject: [PATCH] common/env_nand.c: fix one more incompatible pointer type
 issue

Signed-off-by: Wolfgang Denk <wd@denx.de>
---
 common/env_nand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 
-- 
2.39.5