Ignore:
Timestamp:
Jun 30, 2010, 4:40:19 PM (12 years ago)
Author:
charles
Message:

(trunk libT) down the rabbit hole: various minor type correctness changes unearthed by -Wconversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.h

    r10848 r10912  
    186186    uint32_t                   lastPieceSize;
    187187
    188     uint32_t                   blockCountInPiece;
    189     uint32_t                   blockCountInLastPiece;
     188    uint16_t                   blockCountInPiece;
     189    uint16_t                   blockCountInLastPiece;
    190190
    191191    struct tr_completion       completion;
     
    274274
    275275/* how many blocks are in this piece? */
    276 static inline uint32_t
     276static inline uint16_t
    277277tr_torPieceCountBlocks( const tr_torrent * tor, const tr_piece_index_t piece )
    278278{
Note: See TracChangeset for help on using the changeset viewer.