diff options
author | lloyd <[email protected]> | 2011-04-18 18:35:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-04-18 18:35:38 +0000 |
commit | c4bedb32c0547e8f6b67ece566050073726120f5 (patch) | |
tree | 17183000888bda5156637360d10d9901ced3565b /src/utils/cpuid.cpp | |
parent | 06a32c91e639cc2b0c636553a8aa395aa90d4d37 (diff) |
Maintainer mode warning cleanups, mostly for C style casts which I
added to the flags here.
Diffstat (limited to 'src/utils/cpuid.cpp')
-rw-r--r-- | src/utils/cpuid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/cpuid.cpp b/src/utils/cpuid.cpp index ce3822d55..468ae9d3d 100644 --- a/src/utils/cpuid.cpp +++ b/src/utils/cpuid.cpp @@ -162,7 +162,7 @@ void CPUID::initialize() u32bit cpuid[4] = { 0 }; CALL_CPUID(1, cpuid); - x86_processor_flags = ((u64bit)cpuid[2] << 32) | cpuid[3]; + x86_processor_flags = (static_cast<u64bit>(cpuid[2]) << 32) | cpuid[3]; #if defined(BOTAN_TARGET_ARCH_IS_AMD64) /* |