Changeset 2136 for trunk


Ignore:
Timestamp:
May 23, 2012, 3:45:53 PM (7 years ago)
Author:
ksherdy
Message:

Fix assert_bitblock_align.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/bitblock_align.hpp

    r2135 r2136  
    1313
    1414static IDISA_ALWAYS_INLINE void assert_bitblock_align(void * addr) {
    15     assert(0 == (addr) & (sizeof(BitBlock)-1));
     15    assert(0 == ((unsigned long long)(addr) & (sizeof(BitBlock)-1)));
    1616}
    1717
    1818static IDISA_ALWAYS_INLINE void assert_bitblock_align(BitBlock v) {
    19     assert(0 == (&v) & (sizeof(BitBlock)-1));
     19    assert(0 == ((unsigned long long)(&v) & (sizeof(BitBlock)-1)));
    2020}
    2121
Note: See TracChangeset for help on using the changeset viewer.