From 31c67f87c5fdf29f1d8c657ce943bdb6f2e4b57d Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 13 Feb 2003 22:59:36 +0000 Subject: [PATCH] Tornado 2.2 doesn't like const for the second argument to sendto() --- src/ca/udpiiu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ca/udpiiu.cpp b/src/ca/udpiiu.cpp index da9f83d88..c6841bb77 100644 --- a/src/ca/udpiiu.cpp +++ b/src/ca/udpiiu.cpp @@ -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;