Changeset 10020


Ignore:
Timestamp:
Jan 26, 2010, 7:50:17 AM (12 years ago)
Author:
charles
Message:

(trunk libT) #2800 "crashing during operation" -- use type correctness suggestion from kim wrt int --> size_t in bitset.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bitset.h

    r9979 r10020  
    3131
    3232static inline void
    33 tr_bitsetConstructor( tr_bitset * b, int size )
     33tr_bitsetConstructor( tr_bitset * b, size_t size )
    3434{
    3535    tr_bitfieldConstruct( &b->bitfield, size );
     
    120120
    121121static inline int
    122 tr_bitsetAdd( tr_bitset * b, int i )
     122tr_bitsetAdd( tr_bitset * b, size_t i )
    123123{
    124124    int ret = 0;
Note: See TracChangeset for help on using the changeset viewer.