From 00f349a7a332463ce569833f14e088d3f57b8533 Mon Sep 17 00:00:00 2001 From: Veselin Georgiev Date: Sat, 21 May 2016 16:10:39 +0300 Subject: [PATCH] Fix issue #45: OS X compilation error --- libcpuid/rdmsr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpuid/rdmsr.c b/libcpuid/rdmsr.c index 8537a53..3dbf7c0 100644 --- a/libcpuid/rdmsr.c +++ b/libcpuid/rdmsr.c @@ -439,7 +439,7 @@ struct msr_driver_t* cpu_msr_driver_open_core(unsigned core_num) return NULL; } -int cpu_rdmsr(struct msr_driver_t* driver, int msr_index, uint64_t* result) +int cpu_rdmsr(struct msr_driver_t* driver, uint32_t msr_index, uint64_t* result) { return set_error(ERR_NOT_IMP); }