[profiler] Change sample frequency to a 32-bit int.
[mono.git] / mono / mini / mini-posix.c
index fa77749eab481785047eb74550e29c304e0ad105..8b17287a21a5aa0bd48fc9828176dda9ec1b255b 100644 (file)
@@ -651,7 +651,7 @@ init:
        clock_init (mode);
 
        for (guint64 sleep = clock_get_time_ns (); InterlockedRead (&sampling_thread_running); clock_sleep_ns_abs (sleep)) {
-               uint64_t freq;
+               uint32_t freq;
                MonoProfilerSampleMode new_mode;
 
                mono_profiler_get_sample_mode (NULL, &new_mode, &freq);