Index: trunk/Mars/Changelog
===================================================================
--- trunk/Mars/Changelog	(revision 9629)
+++ trunk/Mars/Changelog	(revision 9820)
@@ -19,4 +19,12 @@
                                                  -*-*- END OF LINE -*-*-
 
+ 2010/08/10 Thomas Bretz
+
+   * msim/MPhotonData.cc:
+     - fixed two warnings in FillEventIO (implicit conversion
+       from float to int)
+
+
+
  2010/08/06 Thomas Bretz
 
Index: trunk/Mars/msim/MPhotonData.cc
===================================================================
--- trunk/Mars/msim/MPhotonData.cc	(revision 9629)
+++ trunk/Mars/msim/MPhotonData.cc	(revision 9820)
@@ -254,12 +254,12 @@
 Int_t MPhotonData::FillEventIO(Float_t f[8])
 {
-    fPosX             =  f[1]; // xpos relative to telescope [cm]
-    fPosY             = -f[0]; // ypos relative to telescope [cm]
-    fCosU             =  f[3]; // cos to x
-    fCosV             = -f[2]; // cos to y
-    fTime             =  f[4]; // a relative arival time [ns]
-    fProductionHeight =  f[5]; // altitude of emission [cm]
-    fNumPhotons       =  f[6]; // photons in this bunch
-    fWavelength       =  f[7]; // so far always zeor = unspec. [nm]
+    fPosX             =  f[1];              // xpos relative to telescope [cm]
+    fPosY             = -f[0];              // ypos relative to telescope [cm]
+    fCosU             =  f[3];              // cos to x
+    fCosV             = -f[2];              // cos to y
+    fTime             =  f[4];              // a relative arival time [ns]
+    fProductionHeight =  f[5];              // altitude of emission [cm]
+    fNumPhotons       =  TMath::Nint(f[6]); // photons in this bunch
+    fWavelength       =  TMath::Nint(f[7]); // so far always zeor = unspec. [nm]
 
 
