compilation warnings corrected
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Oct 2009 16:00:24 +0000 (16:00 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Oct 2009 16:00:24 +0000 (16:00 +0000)
RAW/AliRawReaderMemory.cxx

index 2143285..f61f650 100644 (file)
@@ -143,7 +143,7 @@ Bool_t AliRawReaderMemory::ReadNextData(UChar_t*& data)
   fPosition += fCount;
   fCount = 0;
 
-  if(fBuffers[fCurrent].GetBufferSize()-currentPosition<0){
+  if(fBuffers[fCurrent].GetBufferSize()<currentPosition){
     Error("ReadNextData","Current position exceeds buffersize.");
     return kFALSE;
   }