Changeset 6631


Ignore:
Timestamp:
Aug 22, 2008, 4:30:07 PM (13 years ago)
Author:
muks
Message:

Use stricter type for enums

Location:
trunk/libtransmission
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r6630 r6631  
    740740        for( j=0; !handled && j<webseedCount; )
    741741        {
    742             const int val = tr_webseedAddRequest( webseeds[j], piece );
     742            const tr_addreq_t val = tr_webseedAddRequest( webseeds[j], piece );
    743743            switch( val )
    744744            {
  • trunk/libtransmission/webseed.c

    r6359 r6631  
    231231}
    232232
    233 int
     233tr_addreq_t
    234234tr_webseedAddRequest( tr_webseed        * w,
    235235                      tr_piece_index_t    piece )
  • trunk/libtransmission/webseed.h

    r6359 r6631  
    2525void tr_webseedFree( tr_webseed * );
    2626
    27 int tr_webseedAddRequest( tr_webseed          * w,
    28                           tr_piece_index_t      piece );
     27tr_addreq_t tr_webseedAddRequest( tr_webseed          * w,
     28                                  tr_piece_index_t      piece );
    2929
    3030/** @return true if a request is being processed, or false if idle */
Note: See TracChangeset for help on using the changeset viewer.