Changeset 6070


Ignore:
Timestamp:
Jun 7, 2008, 12:43:42 AM (14 years ago)
Author:
charles
Message:

fix bitfield error reported by denis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r6069 r6070  
    781781        return -1;
    782782
    783     bitfield->bits[i] &= (0xff7f >> nth&7u);
     783    bitfield->bits[i] &= (0xff7f >> (nth&7u));
    784784    /*assert( !tr_bitfieldHas( bitfield, nth ) );*/
    785785    return 0;
Note: See TracChangeset for help on using the changeset viewer.