diff options
Diffstat (limited to 'env')
-rw-r--r-- | env/sata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/sata.c b/env/sata.c index 4bfe0119df..a537b22ce7 100644 --- a/env/sata.c +++ b/env/sata.c @@ -68,7 +68,7 @@ static int env_sata_save(void) return 1; printf("Writing to SATA(%d)...", env_sata); - if (write_env(sata, CONFIG_ENV_SIZE, CONFIG_ENV_OFFSET, &env_new)) { + if (write_env(sata, CONFIG_ENV_SIZE, CONFIG_ENV_OFFSET, (u_char *)env_new)) { puts("failed\n"); return 1; } |