]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/RCU/AliHLTAltroGenerator.cxx
Fixes for compile issues in HLT branch with clang 5.0/C++11 (savannah #103408).
[u/mrichter/AliRoot.git] / HLT / RCU / AliHLTAltroGenerator.cxx
index c7b00af09a4ffdaba0e17b5f808fd444eb1af99d..d4bc2bbe4fb4bc11ada30d9ea4abccda68460c03 100644 (file)
@@ -116,7 +116,7 @@ int AliHLTAltroGenerator::Generate()
     HLTDebug("simulate channel %d: address %d", channel, channelAddress);
 
     // save beginning of this channel for better navigation
-    AliChannelPosition position={channelAddress, dataPos, 0};
+    AliChannelPosition position={static_cast<AliHLTUInt16_t>(channelAddress), dataPos, 0};
 
     // add channel address and bunch count at the beginning
     if (fpSimData->GetSize()<dataPos+2) fpSimData->Set(dataPos+2);