diff options
Diffstat (limited to 'include/environment.h')
-rw-r--r-- | include/environment.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/environment.h b/include/environment.h index 9a442152355..ba8af28414b 100644 --- a/include/environment.h +++ b/include/environment.h @@ -227,9 +227,9 @@ struct env_driver { * will read from gd->env_addr. * * @index: Index of character to read (0=first) - * @return character read + * @return character read, or -ve on error */ - unsigned char (*get_char)(int index); + int (*get_char)(int index); /** * load() - Load the environment from storage |