Ignore:
Timestamp:
Apr 7, 2012, 12:12:57 AM (11 years ago)
Author:
jordan
Message:

silence a compiler warning of implicitly casting the 3rd arg of initnatpmp() from a void* to an int

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/natpmp.c

    r13259 r13263  
    121121    if( is_enabled && ( nat->state == TR_NATPMP_DISCOVER ) )
    122122    {
    123         int val = initnatpmp( &nat->natpmp, 0, NULL );
     123        int val = initnatpmp( &nat->natpmp, 0, 0 );
    124124        logVal( "initnatpmp", val );
    125125        val = sendpublicaddressrequest( &nat->natpmp );
Note: See TracChangeset for help on using the changeset viewer.