Tornado 2.2 doesn't like const for the second argument to sendto()

This commit is contained in:
Andrew Johnson
2003-02-13 22:59:36 +00:00
parent e1629627c0
commit 31c67f87c5

View File

@@ -990,7 +990,7 @@ bool udpiiu::wakeupMsg ()
epicsGuard < udpMutex > guard ( this->mutex );
// send a wakeup msg so the UDP recv thread will exit
int status = sendto ( this->sock, reinterpret_cast < const char * > ( &msg ),
int status = sendto ( this->sock, reinterpret_cast < char * > ( &msg ),
sizeof (msg), 0, &addr.sa, sizeof ( addr.sa ) );
if ( status == sizeof (msg) ) {
return true;