Fork me on GitHub

Changeset 3a61449 in git


Ignore:
Timestamp:
May 6, 2014, 11:29:55 AM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
6caff58
Parents:
00078bc
Message:

replace fseek with fseeko in DelphesPileUpReader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesPileUpReader.cc

    r00078bc r3a61449  
    5757
    5858  // read number of events
    59   fseek(fPileUpFile, -8, SEEK_END);
     59  fseeko(fPileUpFile, -8, SEEK_END);
    6060  xdr_hyper(fInputXDR, &fEntries);
    6161
     
    6767
    6868  // read index of events
    69   fseek(fPileUpFile, -8 - 8*fEntries, SEEK_END);
     69  fseeko(fPileUpFile, -8 - 8*fEntries, SEEK_END);
    7070  xdr_opaque(fInputXDR, fIndex, fEntries*8);
    7171}
     
    122122
    123123  // read event
    124   fseek(fPileUpFile, offset, SEEK_SET);
     124  fseeko(fPileUpFile, offset, SEEK_SET);
    125125  xdr_int(fInputXDR, &fEntrySize);
    126126
Note: See TracChangeset for help on using the changeset viewer.