mirror of
https://github.com/transmission/transmission.git
synced 2025-12-26 13:21:44 +00:00
(libT) change benc's integral type from int to size_t, squashing a couple of minor warnings
This commit is contained in:
@@ -168,7 +168,7 @@ tr_ptrArrayErase( tr_ptrArray * t, int begin, int end )
|
||||
{
|
||||
assert( begin >= 0 );
|
||||
if( end < 0 ) end = t->n_items;
|
||||
assert( end > begin );
|
||||
assert( end - begin > 0 );
|
||||
assert( end <= t->n_items );
|
||||
|
||||
memmove( t->items + begin,
|
||||
|
||||
Reference in New Issue
Block a user