build fix
This commit is contained in:
parent
39a4d4329d
commit
c3069eda28
|
@ -72,7 +72,7 @@ int Wiimote::IORead(u8* buf)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int Wiimote::IOWrite(const u8* buf, int len)
|
||||
int Wiimote::IOWrite(const u8* buf, size_t len)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -263,9 +263,9 @@ int Wiimote::IORead(u8* buf)
|
|||
return r;
|
||||
}
|
||||
|
||||
int Wiimote::IOWrite(u8 const* buf, int len)
|
||||
int Wiimote::IOWrite(u8 const* buf, size_t len)
|
||||
{
|
||||
return write(int_sock, buf, len);
|
||||
return write(int_sock, buf, (int)len);
|
||||
}
|
||||
|
||||
}; // WiimoteReal
|
||||
|
|
Loading…
Reference in New Issue