Fix yellow: mixed signed/unsigned in conditional.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23867 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andrew Mahone 2009-12-05 21:53:49 +00:00
parent 2aeb6c781d
commit 491e0978ec

View file

@ -79,7 +79,7 @@ unsigned udiv32_arm(unsigned a, unsigned b);
#if (defined(CPU_ARM) && (ARM_ARCH > 4))
static inline unsigned int av_log2(uint32_t v)
{
return v ? 31 - __builtin_clz(v) : v;
return v ? 31 - __builtin_clz(v) : 0;
}
#else
/* From libavutil/common.h */