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

This commit is contained in:
Jordan Lee 2012-04-07 00:12:57 +00:00
parent acc7330800
commit 00919e932d
1 changed files with 1 additions and 1 deletions

View File

@ -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 );