Ignore:
Timestamp:
Jun 30, 2010, 4:40:19 PM (11 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/completion.c

    r10387 r10912  
    187187tr_cpBlockBitfieldSet( tr_completion * cp, tr_bitfield * blockBitfield )
    188188{
    189     int success = FALSE;
     189    tr_bool success = FALSE;
    190190
    191191    assert( cp );
     
    199199        tr_piece_index_t p = 0;
    200200        uint32_t pieceBlock = 0;
    201         uint32_t completeBlocksInPiece = 0;
     201        uint16_t completeBlocksInPiece = 0;
    202202        tr_block_index_t completeBlocksInTorrent = 0;
    203203        uint32_t blocksInCurrentPiece = tr_torPieceCountBlocks( cp->tor, p );
Note: See TracChangeset for help on using the changeset viewer.