HearthSim / decrunch

Python wrapper around Crunch DXTc decompressor
https://hearthsim.info
zlib License
14 stars 23 forks source link

make sure macos build works #23

Closed dna2github closed 3 years ago

dna2github commented 3 years ago
crunch/crn_decomp.h:2353:15: error: cast from pointer to smaller type 'crnd::ptr_bits' (aka 'unsigned int') loses
      information
        if ((uint32) reinterpret_cast<ptr_bits>(p) & (CRND_MIN_ALLOC_ALIGNMENT - 1)) {
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crunch/crn_decomp.h:2378:15: error: cast from pointer to smaller type 'crnd::ptr_bits' (aka 'unsigned int') loses
      information
        if ((uint32) reinterpret_cast<ptr_bits>(p) & (CRND_MIN_ALLOC_ALIGNMENT - 1)) {
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crunch/crn_decomp.h:2390:15: error: cast from pointer to smaller type 'crnd::ptr_bits' (aka 'unsigned int') loses
      information
        if ((uint32) reinterpret_cast<ptr_bits>(p) & (CRND_MIN_ALLOC_ALIGNMENT - 1)) {
dna2github commented 3 years ago

notice there are so many dup work. closed.