Changeset 18055 for trunk


Ignore:
Timestamp:
01/03/15 17:14:28 (10 years ago)
Author:
tbretz
Message:
Fixed a warning about strict aliasing rulkes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilder.cc

    r17679 r18055  
    12281228                for (k=0; k<sizeof(PEVNT_HEADER)-1; k++)
    12291229                {
    1230                     //if (rs->B[k]==0xfb && rs->B[k+1] == 0x01)
    1231                     if (*reinterpret_cast<uint16_t*>(rs->B+k) == 0x01fb)
     1230                    if (rs->B[k]==0xfb && rs->B[k+1] == 0x01)
    12321231                        break;
    12331232                }
Note: See TracChangeset for help on using the changeset viewer.