diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-26 00:21:01 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-03 22:35:16 +0100 |
commit | ec8f0b9024adc1075bb514edefbf186e63f84268 (patch) | |
tree | a6da83c61cb11f609ea6abbb47ab724f81f9381d /drivers | |
parent | 5778d54afc99b6a9321acf2d8b5ad87d246008dc (diff) | |
download | u-boot-ec8f0b9024adc1075bb514edefbf186e63f84268.tar.gz u-boot-ec8f0b9024adc1075bb514edefbf186e63f84268.tar.xz u-boot-ec8f0b9024adc1075bb514edefbf186e63f84268.zip |
serial: sandbox: use ssize_t to match os_read
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/sandbox.c b/drivers/serial/sandbox.c index cae6c9411c..814a0f9e7f 100644 --- a/drivers/serial/sandbox.c +++ b/drivers/serial/sandbox.c @@ -50,7 +50,7 @@ void serial_puts(const char *str) int serial_getc(void) { char buf; - int count; + ssize_t count; count = os_read(0, &buf, 1); return count == 1 ? buf : 0; |