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:
parent
2aeb6c781d
commit
491e0978ec
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue