]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/SampleLib/AliHLTSampleRawAnalysisComponent.cxx
correcting compilation warning
[u/mrichter/AliRoot.git] / 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