From 0926279b0aa5f4e53f32b0f82db855ab3a586664 Mon Sep 17 00:00:00 2001 From: Anton Mitrofanov Date: Sat, 12 Feb 2011 05:19:55 -0800 Subject: [PATCH] Fix signedness bug in CPU detection Luckily didn't affect anything due to C signedness rules. --- common/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cpu.c b/common/cpu.c index 6147f7f2..87934450 100644 --- a/common/cpu.c +++ b/common/cpu.c @@ -102,7 +102,7 @@ uint32_t x264_cpu_detect( void ) uint32_t cpu = 0; uint32_t eax, ebx, ecx, edx; uint32_t vendor[4] = {0}; - int max_extended_cap; + uint32_t max_extended_cap; int cache; #if !ARCH_X86_64 -- 2.47.3