Ignore:
Timestamp:
May 1, 2010, 1:00:18 PM (12 years ago)
Author:
livings124
Message:

(1.9x) compile on Mac again; #3104 tr-dht.c: signed port number

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.9x/libtransmission/tr-dht.c

    r10201 r10590  
    102102
    103103static void
    104 bootstrap_from_name( const char *name, short int port, int af )
     104bootstrap_from_name( const char *name, tr_port port, int af )
    105105{
    106106    struct addrinfo hints, *info, *infop;
     
    112112    hints.ai_family = af;
    113113    /* No, just passing p + 1 to gai won't work. */
    114     tr_snprintf(pp, sizeof(pp), "%d", port);
     114    tr_snprintf(pp, sizeof(pp), "%d", (int)port);
    115115
    116116    rc = getaddrinfo(name, pp, &hints, &info);
Note: See TracChangeset for help on using the changeset viewer.