Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build fix
  • Loading branch information
SizzlingCalamari committed Nov 14, 2013
1 parent 39a4d43 commit c3069ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Core/Core/Src/HW/WiimoteReal/IODummy.cpp
Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions Source/Core/Core/Src/HW/WiimoteReal/IONix.cpp
Expand Up @@ -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

0 comments on commit c3069ed

Please sign in to comment.