mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fix signed/unsigned warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14952 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b6dab33dfd
commit
6d0ee558e8
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ static void * mpeg_malloc_internal (unsigned char *mallocbuf,
|
|||
{
|
||||
void *x;
|
||||
|
||||
if (*mem_ptr + size > bufsize)
|
||||
if ((size_t) (*mem_ptr + size) > bufsize)
|
||||
{
|
||||
DEBUGF("OUT OF MEMORY\n");
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue