projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
serial: sandbox: use ssize_t to match os_read
[platform/kernel/u-boot.git]
/
drivers
/
serial
/
sandbox.c
diff --git
a/drivers/serial/sandbox.c
b/drivers/serial/sandbox.c
index
cae6c94
..
814a0f9
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;