diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/env_sata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_sata.c b/common/env_sata.c index b0cee35..ed90724 100644 --- a/common/env_sata.c +++ b/common/env_sata.c @@ -79,7 +79,7 @@ int saveenv(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; } |