Changeset 3575


Ignore:
Timestamp:
Oct 26, 2007, 3:16:27 AM (14 years ago)
Author:
charles
Message:

integral sign correctness in makemeta

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/makemeta.c

    r3409 r3575  
    168168    if( builder != NULL )
    169169    {
    170         int i;
     170        uint32_t i;
    171171        for( i=0; i<builder->fileCount; ++i )
    172172            tr_free( builder->files[i].filename );
     
    187187getHashInfo ( tr_metainfo_builder * b )
    188188{
    189     int fileIndex = 0;
     189    uint32_t fileIndex = 0;
    190190    uint8_t *ret = tr_new0( uint8_t, SHA_DIGEST_LENGTH * b->pieceCount );
    191191    uint8_t *walk = ret;
     
    297297               const tr_metainfo_builder  * builder )
    298298{
    299     int i = 0;
     299    uint32_t i = 0;
    300300
    301301    tr_bencListReserve( list, builder->fileCount );
  • trunk/libtransmission/makemeta.h

    r3111 r3575  
    3131    tr_metainfo_builder_file * files;
    3232    uint64_t totalSize;
    33     int fileCount;
    34     int pieceSize;
    35     int pieceCount;
     33    uint32_t fileCount;
     34    uint32_t pieceSize;
     35    uint32_t pieceCount;
    3636    int isSingleFile;
    3737    tr_handle * handle;
     
    5555    **/
    5656
    57     int pieceIndex;
     57    uint32_t pieceIndex;
    5858    int abortFlag;
    5959    int isDone;
Note: See TracChangeset for help on using the changeset viewer.