]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
pointer type for worker fixed. Sergey.
authorhadaq <hadaq>
Tue, 17 Aug 2010 13:30:02 +0000 (13:30 +0000)
committerhadaq <hadaq>
Tue, 17 Aug 2010 13:30:02 +0000 (13:30 +0000)
ebctrl/ioc/ebctrlApp/src/errbit.c

index 16759f6504fef8fe0989bef3725214b05a3e401e..e365f0bd60e953f762c813a11d87320b0aef80a1 100644 (file)
@@ -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("<E> errbit.c: Worker_getStatistic failed for errBit0!\n");