silence a compiler warning of implicitly casting the 3rd arg of initnatpmp() from a void* to an int
This commit is contained in:
parent
acc7330800
commit
00919e932d
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue