From c4bedb32c0547e8f6b67ece566050073726120f5 Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 18 Apr 2011 18:35:38 +0000 Subject: Maintainer mode warning cleanups, mostly for C style casts which I added to the flags here. --- src/utils/cpuid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/cpuid.cpp') 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(cpuid[2]) << 32) | cpuid[3]; #if defined(BOTAN_TARGET_ARCH_IS_AMD64) /* -- cgit v1.2.3