mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
silence a compiler warning of implicitly casting the 3rd arg of initnatpmp() from a void* to an int
This commit is contained in:
@@ -120,7 +120,7 @@ tr_natpmpPulse( struct tr_natpmp * nat, tr_port private_port, bool is_enabled, t
|
||||
|
||||
if( is_enabled && ( nat->state == TR_NATPMP_DISCOVER ) )
|
||||
{
|
||||
int val = initnatpmp( &nat->natpmp, 0, NULL );
|
||||
int val = initnatpmp( &nat->natpmp, 0, 0 );
|
||||
logVal( "initnatpmp", val );
|
||||
val = sendpublicaddressrequest( &nat->natpmp );
|
||||
logVal( "sendpublicaddressrequest", val );
|
||||
|
||||
Reference in New Issue
Block a user