Changeset 19859 for trunk/Mars/mcorsika


Ignore:
Timestamp:
11/03/19 13:38:45 (5 years ago)
Author:
tbretz
Message:
Fixed a compiler warning.
File:
1 edited

Legend:

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

    r19850 r19859  
    836836
    837837            float x, y, z, r;
    838             int idx;
    839             if (sscanf(buf.Data()+9, "%f %f %f %f %d", &x, &y, &z, &r, &idx)!=5)
     838            unsigned int idx;
     839            if (sscanf(buf.Data()+9, "%f %f %f %f %ud", &x, &y, &z, &r, &idx)!=5)
    840840                continue;
    841841
Note: See TracChangeset for help on using the changeset viewer.