]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
correcting compilation warning
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Aug 2010 11:16:41 +0000 (11:16 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Aug 2010 11:16:41 +0000 (11:16 +0000)
HLT/SampleLib/AliHLTSampleRawAnalysisComponent.cxx

index 3da3bb2e4162a1eacbcbeb4498a58d609efa2082..31a6092c116181237405bd9012b73c48bc96de08 100644 (file)
@@ -225,7 +225,7 @@ int AliHLTSampleRawAnalysisComponent::DoEvent(const AliHLTComponentEventData& /*
        pBlock=GetNextInputBlock()) {
     // extract DDL id from specification
     int ddlnum=-1;
-    for (int pos=0; pos<8*sizeof(AliHLTUInt32_t); pos++) {
+    for (unsigned pos=0; pos<8*sizeof(AliHLTUInt32_t); pos++) {
       if (pBlock->fSpecification & (0x1<<pos)) {
        if (ddlnum>=0) {
          // this is just an example, please avoid warnings in every event since those will