mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-09 08:46:55 +00:00
FS-6271 windows compiler warning
This commit is contained in:
parent
b0c319f662
commit
5cae6b29fd
@ -262,7 +262,7 @@ SWITCH_DECLARE(switch_bool_t) switch_get_system_idle_time(switch_profile_timer_t
|
|||||||
__int64 i64Kernel = i64KernelTime - p->i64LastKernelTime;
|
__int64 i64Kernel = i64KernelTime - p->i64LastKernelTime;
|
||||||
__int64 i64Idle = i64IdleTime - p->i64LastIdleTime;
|
__int64 i64Idle = i64IdleTime - p->i64LastIdleTime;
|
||||||
__int64 i64System = i64User + i64Kernel;
|
__int64 i64System = i64User + i64Kernel;
|
||||||
int x;
|
unsigned int x;
|
||||||
|
|
||||||
p->last_idle_time_index += 1;
|
p->last_idle_time_index += 1;
|
||||||
if ( p->last_idle_time_index >= p->cpu_idle_smoothing_depth ) {
|
if ( p->last_idle_time_index >= p->cpu_idle_smoothing_depth ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user