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

@@ -35,10 +35,12 @@ int main ( int, char ** )
int status;
serverPort =
envGetInetPortConfigParam ( &EPICS_CA_SERVER_PORT, CA_SERVER_PORT );
envGetInetPortConfigParam ( &EPICS_CA_SERVER_PORT,
static_cast <unsigned short> (CA_SERVER_PORT) );
repeaterPort =
envGetInetPortConfigParam ( &EPICS_CA_REPEATER_PORT, CA_REPEATER_PORT );
envGetInetPortConfigParam ( &EPICS_CA_REPEATER_PORT,
static_cast <unsigned short> (CA_REPEATER_PORT) );
caStartRepeaterIfNotInstalled ( repeaterPort );