From 7f586b598ac2ce7dd4ae54fe83890ab2d79aa2b3 Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Mon, 26 Jul 1993 14:42:21 +0000 Subject: [PATCH] cast wdStart args to shutup compiler warning messages --- src/rec/recHistogram.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rec/recHistogram.c b/src/rec/recHistogram.c index 7acbdfb64..8c8a8acfc 100644 --- a/src/rec/recHistogram.c +++ b/src/rec/recHistogram.c @@ -146,7 +146,7 @@ static void wdCallback(pcallback) if(phistogram->sdel>0) { /* start new watchdog timer on monitor */ wait_time = (float)(phistogram->sdel * vxTicksPerSecond); - wdStart(pcallback->wd_id,wait_time,callbackRequest,(int)pcallback); + wdStart(pcallback->wd_id,wait_time,(FUNCPTR)callbackRequest,(int)pcallback); } return; @@ -191,7 +191,7 @@ static long init_record(phistogram,pass) /* start new watchdog timer on monitor */ wait_time = (float)(phistogram->sdel * vxTicksPerSecond); - wdStart(pcallback->wd_id,wait_time,callbackRequest,(int)pcallback); + wdStart(pcallback->wd_id,wait_time,(FUNCPTR)callbackRequest,(int)pcallback); } /* histogram.siml must be a CONSTANT or a PV_LINK or a DB_LINK */