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:
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