Changeset 18979 for trunk/Mars/mcore


Ignore:
Timestamp:
04/05/18 19:01:00 (7 years ago)
Author:
tbretz
Message:
Use a reinterpret_cast to make the compiler more happy.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/huffman.h

    r17142 r18979  
    301301            while (in_ptr<in_end && out_ptr<out_end)
    302302            {
    303                 const uint16_t *two = (uint16_t*)in_ptr;
     303                const uint16_t *two = reinterpret_cast<const uint16_t*>(in_ptr);
    304304
    305305                const uint8_t curbyte = (*two >> curbit);
Note: See TracChangeset for help on using the changeset viewer.