Changeset 19000 for trunk/Mars/mcorsika
- Timestamp:
- 04/27/18 20:06:28 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcorsika/MCorsikaRead.cc
r18543 r19000 538 538 char *ptr = buf; 539 539 540 unsigned int n = ((int*)ptr)[0];540 unsigned int n = reinterpret_cast<unsigned int*>(ptr)[0]; 541 541 ptr += 4; 542 542 … … 545 545 for (unsigned int i=0; i<n && ptr<buf+fBlockLength; i++) 546 546 { 547 unsigned short s = ((unsigned short*)ptr)[0];547 unsigned short s = reinterpret_cast<unsigned short*>(ptr)[0]; 548 548 ptr += 2; 549 549
Note:
See TracChangeset
for help on using the changeset viewer.