fixed gnu warnings
This commit is contained in:
@@ -353,7 +353,7 @@ void osiTimer::show (unsigned level) const
|
||||
{
|
||||
epicsTime cur = epicsTime::getCurrent ();
|
||||
printf ("osiTimer at %p for \"%s\" with again = %d\n",
|
||||
this, this->name(), this->again());
|
||||
static_cast <const void *> (this), this->name(), this->again());
|
||||
if (level>=1u) {
|
||||
double delay = this->exp - cur;
|
||||
printf ("\tdelay to expire = %f, state = %d\n",
|
||||
|
||||
@@ -99,7 +99,8 @@ void timerQueueThreaded::reschedule ()
|
||||
|
||||
void timerQueueThreaded::show ( unsigned int level ) const
|
||||
{
|
||||
printf ( "EPICS threaded timer queue at %p\n", this );
|
||||
printf ( "EPICS threaded timer queue at %p\n",
|
||||
static_cast <const void *> ( this ) );
|
||||
if ( level >=1u ) {
|
||||
this->queue.show ( level - 1u );
|
||||
printf ( "reschedule event\n" );
|
||||
|
||||
Reference in New Issue
Block a user