fix yellow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19440 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andrew Mahone 2008-12-14 18:42:05 +00:00
parent 524c5409c3
commit 676fd32c96

View file

@ -702,7 +702,7 @@ int resize_on_load(struct bitmap *bm, bool dither, struct dim *src,
0 : needed];
if (len && buf)
#endif
len = (unsigned int)align_buffer((void**)&buf, len,
len = (unsigned int)align_buffer(PUN_PTR(void**, &buf), len,
sizeof(uint32_t));
if (needed > len)
{