Ignore:
Timestamp:
Oct 30, 2009, 2:53:17 PM (12 years ago)
Author:
charles
Message:

(trunk libT) fix signed/unsigned comparison warnings on amd64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r9442 r9444  
    13631363    struct stat st;
    13641364    off_t bytesLeft;
    1365     size_t buflen;
     1365    off_t buflen;
    13661366
    13671367    /* make sure the old file exists */
     
    14031403    {
    14041404        ssize_t bytesWritten;
    1405         const size_t bytesThisPass = MIN( bytesLeft, buflen );
     1405        const off_t bytesThisPass = MIN( bytesLeft, buflen );
    14061406        const int numRead = read( in, buf, bytesThisPass );
    14071407        if( numRead < 0 )
Note: See TracChangeset for help on using the changeset viewer.