diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-06-09 14:17:25 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-06-09 14:17:25 +0200 |
commit | a649f62a186cf5a9ebd976488fe641085a036f6a (patch) | |
tree | 06307f79c873feaafdf0491b7d59c10b653bb676 /dep/g3dlite/source/System.cpp | |
parent | ef70cf64814341543fdb8efa403319371d9f3104 (diff) |
Dep/g3d: Build fix for clang on windows
Diffstat (limited to 'dep/g3dlite/source/System.cpp')
-rw-r--r-- | dep/g3dlite/source/System.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/g3dlite/source/System.cpp b/dep/g3dlite/source/System.cpp index 1c7d913929c..d6fbfa75679 100644 --- a/dep/g3dlite/source/System.cpp +++ b/dep/g3dlite/source/System.cpp @@ -1695,7 +1695,7 @@ std::string System::currentTimeString() { // Windows 64-bit void System::cpuid(CPUIDFunction func, uint32& eax, uint32& ebx, uint32& ecx, uint32& edx) { #if !defined(_M_ARM) && !defined(_M_ARM64) && !defined(_M_HYBRID_X86_ARM64) && !defined(_M_ARM64EC) - int regs[4] = {eax, ebx, ecx, edx}; + int regs[4] = {(int)eax, (int)ebx, (int)ecx, (int)edx}; __cpuid(regs, func); #else int regs[4] = { 0, 0, 0, 0 }; |