Commit 1f4f6989 authored by aymeric's avatar aymeric
Browse files

Fix warnings on msvc compiler


git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@385 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 12174325
......@@ -297,7 +297,7 @@ static int set_high_prio(void){
TIMECAPS ptc;
mm=timeGetDevCaps(&ptc,sizeof(ptc));
if (mm==0){
if (ptc.wPeriodMin<precision)
if (ptc.wPeriodMin<(UINT)precision)
ptc.wPeriodMin=precision;
else
precision = ptc.wPeriodMin;
......@@ -357,9 +357,9 @@ void * ms_ticker_run(void *arg)
diff=s->time-realtime;
if (diff>0){
/* sleep until next tick */
sleepMs(diff);
sleepMs((int)diff);
}else{
late=-diff;
late=(int)-diff;
if (late>s->interval*5 && late>lastlate){
ms_warning("%s: We are late of %d miliseconds.",s->name,late);
}
......
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