mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Fix warnings on msvc compiler
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@385 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
121743253c
commit
1f4f6989a8
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue