correcting compilation warning
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Aug 2010 11:16:52 +0000 (11:16 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Aug 2010 11:16:52 +0000 (11:16 +0000)
HLT/BASE/AliHLTDAQ.cxx

index dd0d3a4..1f02a48 100644 (file)
@@ -243,7 +243,7 @@ string AliHLTDAQ::HLTOrigin(Int_t detectorID)
 {
   // get HLT origin from detector ID
   string origin;
 {
   // get HLT origin from detector ID
   string origin;
-  if (detectorID>=0 && detectorID<(int)sizeof(fgkOriginMapping)/sizeof(const char*)) {
+  if (detectorID>=0 && (unsigned)detectorID<sizeof(fgkOriginMapping)/sizeof(const char*)) {
     origin.append(fgkOriginMapping[detectorID], kAliHLTComponentDataTypefOriginSize);
   }
   return origin;
     origin.append(fgkOriginMapping[detectorID], kAliHLTComponentDataTypefOriginSize);
   }
   return origin;