Ignore:
Timestamp:
Sep 4, 2008, 2:42:32 PM (12 years ago)
Author:
charles
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/ptrarray.c

    r6490 r6699  
    169169    assert( begin >= 0 );
    170170    if( end < 0 ) end = t->n_items;
    171     assert( end > begin );
     171    assert( end - begin > 0 );
    172172    assert( end <= t->n_items );
    173173
Note: See TracChangeset for help on using the changeset viewer.