]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/env_nand.c
common/env_nand.c: fix one more incompatible pointer type issue
[people/ms/u-boot.git] / common / env_nand.c
index b6a5b4aaab3253ae3f31619d7681afc1472657c3..0dddddf0a1fada90b5d991faf2d037ce1233d578 100644 (file)
@@ -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;