fixed gnu warnings

This commit is contained in:
Jeff Hill
2002-11-01 18:13:51 +00:00
parent 250a5418c1
commit e772ce948c
8 changed files with 23 additions and 19 deletions

View File

@@ -894,7 +894,7 @@ void tcpiiu::hostNameSetRequest ( epicsGuard < cacMutex > & )
}
epicsSingleton < localHostName >::reference
ref ( localHostNameAtLoadTime );
ref ( localHostNameAtLoadTime.getReference () );
const char * pName = ref->pointer ();
unsigned size = strlen ( pName ) + 1u;
unsigned postSize = CA_MESSAGE_ALIGN ( size );