From: Jeff Lenk Date: Thu, 27 Feb 2014 02:14:27 +0000 (-0600) Subject: FS-6271 windows compiler warning X-Git-Tag: v.15.9~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cae6b29fd25636938085a4d6f12a5bef7980d5a;p=thirdparty%2Ffreeswitch.git FS-6271 windows compiler warning --- diff --git a/src/switch_profile.c b/src/switch_profile.c index ebaecbfc65..84fed77e3d 100644 --- a/src/switch_profile.c +++ b/src/switch_profile.c @@ -262,7 +262,7 @@ SWITCH_DECLARE(switch_bool_t) switch_get_system_idle_time(switch_profile_timer_t __int64 i64Kernel = i64KernelTime - p->i64LastKernelTime; __int64 i64Idle = i64IdleTime - p->i64LastIdleTime; __int64 i64System = i64User + i64Kernel; - int x; + unsigned int x; p->last_idle_time_index += 1; if ( p->last_idle_time_index >= p->cpu_idle_smoothing_depth ) {