From cf452b9614539f04c7328b1dc8143d62b395bafe Mon Sep 17 00:00:00 2001 From: hadaq Date: Tue, 17 Aug 2010 13:30:02 +0000 Subject: [PATCH] pointer type for worker fixed. Sergey. --- ebctrl/ioc/ebctrlApp/src/errbit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ebctrl/ioc/ebctrlApp/src/errbit.c b/ebctrl/ioc/ebctrlApp/src/errbit.c index 16759f6..e365f0b 100644 --- a/ebctrl/ioc/ebctrlApp/src/errbit.c +++ b/ebctrl/ioc/ebctrlApp/src/errbit.c @@ -33,10 +33,11 @@ long errbit_proc( struct genSubRecord *pgsub ) for( i=0; i<5; i++ ) *out[i] = 0; + unsigned long tmp; char buf[_POSIX_PATH_MAX]; sprintf( buf, "%s%s", "daq_evtbuild", getenv("EBNUM") ); - if( Worker_getStatistic( buf, "errBit0", out[0] ) == -1) { + if( Worker_getStatistic( buf, "errBit0", &tmp ) == -1) { if(errbitDebug) printf(" errbit.c: Worker_getStatistic failed for errBit0!\n"); -- 2.43.0