Skip to content

Commit

Permalink
vxworks fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver committed Jun 27, 2019
1 parent fd95f90 commit 3a8a24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remote/codec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ void BlockingTCPTransportCodec::setRxTimeout(bool ena)
timo.tv_usec = (timeout-timo.tv_sec)*1e6;
#endif

int ret = setsockopt(_channel, SOL_SOCKET, SO_RCVTIMEO, (const char*)&timo, sizeof(timo));
int ret = setsockopt(_channel, SOL_SOCKET, SO_RCVTIMEO, (char*)&timo, sizeof(timo));
if(ret==-1) {
int err = SOCKERRNO;
static int lasterr;
Expand Down

0 comments on commit 3a8a24d

Please sign in to comment.