Removing warnings in MONITOR
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Mar 2008 18:04:09 +0000 (18:04 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Mar 2008 18:04:09 +0000 (18:04 +0000)
MONITOR/deroot.cxx
MONITOR/monitorCheck.cxx
MONITOR/monitorGDC.cxx
MONITOR/root2date.cxx

index d42fbdd..415f06a 100644 (file)
@@ -43,9 +43,9 @@ int deroot(const char *rootFileName, const char *dateFileName, const char *ddlFi
   size_t gdcSize;
   if (ddlFilesFolder) {
     char command[256];
-    sprintf(command, "rm -r %s/raw%d", ddlFilesFolder, gdcCounter);
+    sprintf(command, "rm -r %s/raw%ld", ddlFilesFolder, gdcCounter);
     gSystem->Exec(command);
-    sprintf(command, "%s/raw%d", ddlFilesFolder, gdcCounter);
+    sprintf(command, "%s/raw%ld", ddlFilesFolder, gdcCounter);
     if (gSystem->MakeDirectory(command) < 0) {
       cerr << "Can not create directory " << command << endl;
       return(1);
index f31d497..2472df9 100644 (file)
@@ -49,9 +49,10 @@ private:
 
 //_____________________________________________________________________________
 AliGDCInterruptHandler::AliGDCInterruptHandler() : 
-  TSignalHandler(kSigInterrupt, kFALSE) 
+  TSignalHandler(kSigInterrupt, kFALSE),
+  fStop(kFALSE)  
 {
-  fStop = kFALSE;
+
 }
 
 
index 4e6c773..d09f882 100644 (file)
@@ -69,9 +69,10 @@ private:
 
 //_____________________________________________________________________________
 AliGDCInterruptHandler::AliGDCInterruptHandler() : 
-  TSignalHandler(kSigInterrupt, kFALSE) 
+  TSignalHandler(kSigInterrupt, kFALSE),
+  fStop(kFALSE)
 {
-  fStop = kFALSE;
+
 }
 
 
index 0371553..0128370 100644 (file)
@@ -47,7 +47,7 @@ int Root2Date(AliRawEvent *gdcRootEvent, unsigned char *gdcDateEvent, char *ddlD
      char ddlFileName[256];
      sprintf(ddlFileName,"%s/%s",ddlDir,AliDAQ::DdlFileName(detId,ddlIndex));
      FILE *ddlFile;
-     if(ddlFile=fopen(ddlFileName, "wb")) {
+     if((ddlFile=fopen(ddlFileName, "wb"))) {
        fwrite(p, chunkSize, 1, ddlFile);
      }
      fclose(ddlFile);