Ignore:
Timestamp:
Jan 19, 2011, 6:14:01 PM (11 years ago)
Author:
jordan
Message:

(trunk) #3914 "strlsize() passes variable of incompatible type to the tr_formatter_size_B()" -- fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r11709 r11714  
    16601660{
    16611661    char * name;
    1662     uint64_t value;
     1662    int64_t value;
    16631663};
    16641664
     
    16951695static char*
    16961696formatter_get_size_str( const struct formatter_units * u,
    1697                         char * buf, uint64_t bytes, size_t buflen )
     1697                        char * buf, int64_t bytes, size_t buflen )
    16981698{
    16991699    int precision;
     
    17301730
    17311731char*
    1732 tr_formatter_size_B( char * buf, uint64_t bytes, size_t buflen )
     1732tr_formatter_size_B( char * buf, int64_t bytes, size_t buflen )
    17331733{
    17341734    return formatter_get_size_str( &size_units, buf, bytes, buflen );
     
    17851785
    17861786char*
    1787 tr_formatter_mem_B( char * buf, uint64_t bytes_per_second, size_t buflen )
     1787tr_formatter_mem_B( char * buf, int64_t bytes_per_second, size_t buflen )
    17881788{
    17891789    return formatter_get_size_str( &mem_units, buf, bytes_per_second, buflen );
Note: See TracChangeset for help on using the changeset viewer.