From 3f36114b19ed1e6c6d6d90e66735db6eec798985 Mon Sep 17 00:00:00 2001 From: Veselin Georgiev Date: Fri, 3 Jun 2016 03:34:08 +0300 Subject: [PATCH] Fix a few legit warnings (passing 'int*', where 'uint64*' is expected). --- libcpuid/rdmsr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpuid/rdmsr.c b/libcpuid/rdmsr.c index 3dbf7c0..6272f6e 100644 --- a/libcpuid/rdmsr.c +++ b/libcpuid/rdmsr.c @@ -525,7 +525,7 @@ int cpu_msrinfo(struct msr_driver_t* handle, cpu_msrinfo_request_t which) static int max_clock = 0, multiplier = 0; static double bclk = 0.0; uint64_t val; - int digital_readout, thermal_status, PROCHOT_temp; + uint64_t digital_readout, thermal_status, PROCHOT_temp; if (handle == NULL) return set_error(ERR_HANDLE);