Commit 4c904a78 authored by aymeric's avatar aymeric

fix compilation on windows

git-svn-id: svn+ssh:// 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent b3edee9b
......@@ -80,7 +80,7 @@ ice_sendtest( struct CandidatePair *remote_candidate, Socket myFd, StunAddress4
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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment