Fix warnings.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Mar 2008 19:08:56 +0000 (19:08 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Mar 2008 19:08:56 +0000 (19:08 +0000)
EVE/EveBase/AliEveVSDCreator.cxx
EVE/EveDet/AliEveTOFStripEditor.cxx
EVE/EveDet/AliEveTPCSectorData.cxx

index 856aae7..a8f4488 100644 (file)
@@ -298,7 +298,7 @@ void AliEveVSDCreator::ConvertKinematics()
 
   fTreeK->Branch("K", "TEveMCTrack",  &fpK, fBuffSize);
 
-  printf("sizeofvmc = %d\n", vmc.size());
+  printf("sizeofvmc = %d\n", (Int_t) vmc.size());
   for(std::vector<TEveMCTrack>::iterator k=vmc.begin(); k!=vmc.end(); ++k) {
     TEveMCTrack& mct = *k;
     fK = mct;
index 8e1150c..3d8fbb3 100644 (file)
@@ -30,7 +30,9 @@ ClassImp(AliEveTOFStripEditor)
 AliEveTOFStripEditor::AliEveTOFStripEditor(const TGWindow *p, Int_t width, Int_t height,
             UInt_t options, Pixel_t back) :
   TGedFrame(p, width, height, options | kVerticalFrame, back),
-  fM(0)
+  fM         (0),
+  fThreshold (0),
+  fMaxVal    (0)
   // Initialize widget pointers to 0
 {
   MakeTitle("AliEveTOFStrip");
index 58c4ec4..dad3ec6 100644 (file)
@@ -208,7 +208,7 @@ void AliEveTPCSectorData::Print(Option_t* /*opt*/) const
   // Print summary information.
 
   printf("AliEveTPCSectorData sector=%d, NPadsFilled=%d, NBlocks=%d, BlockPos=%d\n",
-        fSectorID, fNPadsFilled, fBlocks.size(), fBlockPos);
+        fSectorID, fNPadsFilled, (Int_t) fBlocks.size(), fBlockPos);
 }
 
 /******************************************************************************/