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/tr-lpd.c

    r10714 r10912  
    512512
    513513        /* determine announced peer port, refuse if value too large */
    514         if( sscanf( value, "%u", &peerPort ) != 1 || peerPort > (in_port_t)-1 )
     514        if( sscanf( value, "%d", &peerPort ) != 1 || peerPort > (in_port_t)-1 )
    515515            return 0;
    516516
Note: See TracChangeset for help on using the changeset viewer.