mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-04 19:50:19 +00:00
Use correct type for read(2)'ing.
This commit is contained in:
parent
a1785ae68d
commit
d51277235b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user