1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-06-08 21:29:31 +00:00

Use correct type for read(2)'ing.

This commit is contained in:
Radosław Kujawa 2018-03-20 12:01:08 +01:00
parent a1785ae68d
commit d51277235b

View File

@ -26,7 +26,8 @@ device_serial_read_1(void *vd, uint16_t offset)
{
device_t *d;
struct device_serial_priv *dp;
uint8_t val, nread;
ssize_t nread;
uint8_t val;
d = (device_t *) vd;
dp = d->aux;