diff --git a/common/processor/mac/Processor.cpp b/common/processor/mac/Processor.cpp index 7836fb3..59f06e2 100644 --- a/common/processor/mac/Processor.cpp +++ b/common/processor/mac/Processor.cpp @@ -24,7 +24,7 @@ uint32_t OsGetProcessorFeaturesEx(int32_t& vendorID) { features = 0x80000000; int32_t feature; - int32_t length; + size_t length; length = sizeof(feature); if (sysctlbyname("hw.optional.mmx", &feature, &length, nullptr, 0) == 0 && feature) { @@ -55,4 +55,4 @@ uint64_t OsGetProcessorTicksPerSecond() { return 1000ULL; } -#endif \ No newline at end of file +#endif