(libT) change benc's integral type from int to size_t, squashing a couple of minor warnings

This commit is contained in:
Charles Kerr
2008-09-04 14:42:32 +00:00
parent 628d05d220
commit 419242e36f
9 changed files with 56 additions and 57 deletions

View File

@@ -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,