]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6271 windows compiler warning
authorJeff Lenk <jeff@jefflenk.com>
Thu, 27 Feb 2014 02:14:27 +0000 (20:14 -0600)
committerJeff Lenk <jeff@jefflenk.com>
Thu, 27 Feb 2014 02:14:27 +0000 (20:14 -0600)
src/switch_profile.c

index ebaecbfc6515f5e165041b0070d1889cf77a8a4d..84fed77e3d7311c92c28b8699072fad2850e54f9 100644 (file)
@@ -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 ) {