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

@@ -74,7 +74,7 @@ void cacChannel::hostName ( char *pBuf, unsigned bufLength ) const
{
if ( bufLength ) {
epicsSingleton < localHostName >::reference
ref ( localHostNameAtLoadTime );
ref ( localHostNameAtLoadTime.getReference () );
ref->copy ( pBuf, bufLength );
}
}
@@ -84,7 +84,7 @@ void cacChannel::hostName ( char *pBuf, unsigned bufLength ) const
const char * cacChannel::pHostName () const
{
epicsSingleton < localHostName >::reference
ref ( localHostNameAtLoadTime );
ref ( localHostNameAtLoadTime.getReference () );
return ref->pointer ();
}