compilation warning fixed
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 13 Nov 2010 22:24:32 +0000 (22:24 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 13 Nov 2010 22:24:32 +0000 (22:24 +0000)
HLT/TPCLib/tracking-ca/AliHLTTPCCASliceData.cxx

index eb67d95..1c0e8be 100644 (file)
@@ -96,8 +96,8 @@ inline void AliHLTTPCCASliceData::PackHitData( AliHLTTPCCARow* const row, const
       std::cout << "!!!! hit packing error!!! " << xx << " " << yy << " " << std::endl;
     }
     // HitData is bin sorted
-    fHitData[row->fHitNumberOffset + hitIndex].x = xx;
-    fHitData[row->fHitNumberOffset + hitIndex].y = yy;
+    fHitData[row->fHitNumberOffset + hitIndex].x = (unsigned short) xx;
+    fHitData[row->fHitNumberOffset + hitIndex].y = (unsigned short) yy;
   }
 }