Changeset 19687


Ignore:
Timestamp:
09/27/19 16:40:11 (5 years ago)
Author:
tbretz
Message:
Avoid some warnings.
File:
1 edited

Legend:

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

    r19550 r19687  
    361361   if (!fInFormat->Read(&fNumTelescopes, 4)) return kERROR;
    362362
    363    if (fTelescopeIdx>=fNumTelescopes)
     363   if (fTelescopeIdx>=Int_t(fNumTelescopes))
    364364   {
    365365      *fLog << err << "ERROR - Requested telescope index " << fTelescopeIdx <<
     
    844844        }
    845845
    846         for (int i=0; i<fNumTelescopes; i++)
     846        for (UInt_t i=0; i<fNumTelescopes; i++)
    847847        {
    848848            *fLog << all << "Telescope #" << setw(4) << i << " [X/Y/Z (R)]: ";
Note: See TracChangeset for help on using the changeset viewer.