WNCInterface
Dependencies: WncControllerK64F
Fork of WNCInterface by
Diff: Socket/TCPSocketConnection.cpp
- Revision:
- 18:198e9b0acf11
- Parent:
- 11:75cf1e1c921c
- Child:
- 25:52bad4105cac
--- a/Socket/TCPSocketConnection.cpp Thu Nov 17 15:49:40 2016 +0000 +++ b/Socket/TCPSocketConnection.cpp Thu Nov 17 16:13:29 2016 +0000 @@ -65,7 +65,7 @@ if( s == WncController_fk::WncController::WNC_ON ) { M_LOCK; - if( WNCInterface::_pwnc->write(0, data, length) ) + if( WNCInterface::_pwnc->write(0, (const std::uint8_t*)data, length) ) ret = length; M_ULOCK; }