summaryrefslogtreecommitdiff
path: root/env/nvram.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/nvram.c')
-rw-r--r--env/nvram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/env/nvram.c b/env/nvram.c
index ac389ace62..85af37d4a0 100644
--- a/env/nvram.c
+++ b/env/nvram.c
@@ -41,7 +41,7 @@ env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR;
#endif
#ifdef CONFIG_SYS_NVRAM_ACCESS_ROUTINE
-static uchar env_nvram_get_char(int index)
+static int env_nvram_get_char(int index)
{
uchar c;