1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-12-16 16:35:45 +00:00

Fix issue #45: OS X compilation error

This commit is contained in:
Veselin Georgiev 2016-05-21 16:10:39 +03:00
parent 7c7a0fea8b
commit 00f349a7a3

View file

@ -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);
}