mirror of
https://github.com/transmission/transmission
synced 2024-12-26 17:47:37 +00:00
fix bitfield error reported by denis
This commit is contained in:
parent
7b88afdca7
commit
8732aa3bbc
1 changed files with 1 additions and 1 deletions
|
@ -780,7 +780,7 @@ tr_bitfieldRem( tr_bitfield * bitfield,
|
||||||
if( i >= bitfield->len )
|
if( i >= bitfield->len )
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
bitfield->bits[i] &= (0xff7f >> nth&7u);
|
bitfield->bits[i] &= (0xff7f >> (nth&7u));
|
||||||
/*assert( !tr_bitfieldHas( bitfield, nth ) );*/
|
/*assert( !tr_bitfieldHas( bitfield, nth ) );*/
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue