Moved CA_..._PORT static casts from caProto.h into C++ sources.

This commit is contained in:
Ralph Lange
2002-02-05 12:58:31 +00:00
parent 1876eac721
commit 497eb2d1c4
4 changed files with 12 additions and 9 deletions

View File

@@ -504,7 +504,8 @@ void ca_repeater ()
assert ( osiSockAttach() );
port = envGetInetPortConfigParam ( &EPICS_CA_REPEATER_PORT, CA_REPEATER_PORT );
port = envGetInetPortConfigParam ( &EPICS_CA_REPEATER_PORT,
static_cast <unsigned short> (CA_REPEATER_PORT) );
msr = makeSocket ( port, true );
if ( msr.sock == INVALID_SOCKET ) {