projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5778d54
)
serial: sandbox: use ssize_t to match os_read
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 26 Oct 2011 00:21:01 +0000
(
00:21
+0000)
committer
Wolfgang Denk
<wd@denx.de>
Thu, 3 Nov 2011 21:35:16 +0000
(22:35 +0100)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/serial/sandbox.c
patch
|
blob
|
history
diff --git
a/drivers/serial/sandbox.c
b/drivers/serial/sandbox.c
index cae6c9411c808edb14a8a69eab788da7e29b7385..814a0f9e7fcfc17d7796f03037047f0436cdeacb 100644
(file)
--- 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;
-
in
t count;
+
ssize_
t count;
count = os_read(0, &buf, 1);
return count == 1 ? buf : 0;