Changeset 9893 for trunk/Mars/mcorsika


Ignore:
Timestamp:
08/26/10 10:14:53 (14 years ago)
Author:
rohlfs
Message:
bug fix in comparing the fRunePos with position 0
Location:
trunk/Mars/mcorsika
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcorsika/MCorsikaFormat.cc

    r9889 r9893  
    265265Bool_t MCorsikaFormatEventIO::SeekEvtEnd()
    266266{
    267     if (fRunePos != 0)
     267    if (fRunePos != streampos(0))
    268268        {
    269269        fIn->seekg(fRunePos, ios::beg);
  • trunk/Mars/mcorsika/MCorsikaFormat.h

    r9889 r9893  
    7373public:
    7474   MCorsikaFormatEventIO(MLog * log, std::istream * in)
    75         : MCorsikaFormat(log, in) {fRunePos = 0;}
     75        : MCorsikaFormat(log, in) {fRunePos = std::streampos(0);}
    7676
    7777   Bool_t SeekNextBlock(const char * id, unsigned short type);
Note: See TracChangeset for help on using the changeset viewer.