Ignore:
Timestamp:
Jan 23, 2008 8:23:12 PM (14 years ago)
Author:
bennylp
Message:

Fixed integer conversion/format warning on x86_64 Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/crc32.c

    r1003 r1731  
    155155    pj_uint32_t crc = ctx->crc_state ^ CRC32_NEGL; 
    156156 
    157     for( ; (((pj_uint32_t)data) & 0x03) && nbytes > 0; --nbytes) { 
     157    for( ; (((unsigned long)data) & 0x03) && nbytes > 0; --nbytes) { 
    158158        crc = crc_tab[CRC32_INDEX(crc) ^ *data++] ^ CRC32_SHIFTED(crc); 
    159159    } 
Note: See TracChangeset for help on using the changeset viewer.