fixed gnu warnings

This commit is contained in:
Jeff Hill
2001-02-16 03:13:27 +00:00
parent c38a119e68
commit 10c1cd7569
15 changed files with 75 additions and 47 deletions
+1 -1
View File
@@ -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",
+2 -1
View File
@@ -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" );