fix compilation on windows

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@282 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
aymeric 2009-02-27 17:46:51 +00:00
parent b3edee9bd4
commit 4c904a78a2

View file

@ -80,7 +80,7 @@ ice_sendtest( struct CandidatePair *remote_candidate, Socket myFd, StunAddress4
req.hasMessageIntegrity=TRUE;
req.hasPriority = TRUE;
req.priority.priority = pow(2,24)*(110) + pow(2,8)*(65535) + pow(2,0)*(256 - remote_candidate->remote_candidate.component_id);
req.priority.priority = (UInt32)(pow((double)2,(double)24)*(110) + pow((double)2,(double)8)*(65535) + pow((double)2,(double)0)*(256 - remote_candidate->remote_candidate.component_id));
/* TODO: put this parameter only for the candidate selected */
if (remote_candidate->connectivity_check==VALID)