cpu detection: avoid a signed overflow
authorSean McGovern <gseanmcg@gmail.com>
Mon, 25 Jul 2011 22:51:02 +0000 (18:51 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 3 Sep 2011 15:31:50 +0000 (08:31 -0700)
commit5938e02185430ca711106aaec9b5622dbf588af3
tree93d56f2e784a7d860d7cdb5a7fdded34891225f9
parent757b86cd9eb5660dbef2e060db9a9945ff4bfc24
cpu detection: avoid a signed overflow

1<<31 overflows because 1 is signed, so force it to unsigned.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavutil/x86/cpu.c