build fix

This commit is contained in:
Jordan Cristiano 2013-11-14 02:27:53 -05:00
parent 39a4d4329d
commit c3069eda28
2 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ int Wiimote::IORead(u8* buf)
return 0; return 0;
} }
int Wiimote::IOWrite(const u8* buf, int len) int Wiimote::IOWrite(const u8* buf, size_t len)
{ {
return 0; return 0;
} }

View File

@ -263,9 +263,9 @@ int Wiimote::IORead(u8* buf)
return r; 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 }; // WiimoteReal