diff options
Diffstat (limited to 'apps/plugins/mpegplayer/alloc.c')
-rw-r--r-- | apps/plugins/mpegplayer/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/alloc.c b/apps/plugins/mpegplayer/alloc.c index b8f68458c0..0ba86a51f3 100644 --- a/apps/plugins/mpegplayer/alloc.c +++ b/apps/plugins/mpegplayer/alloc.c | |||
@@ -45,7 +45,7 @@ static void * mpeg_malloc_internal (unsigned char *mallocbuf, | |||
45 | { | 45 | { |
46 | void *x; | 46 | void *x; |
47 | 47 | ||
48 | if (*mem_ptr + size > bufsize) | 48 | if ((size_t) (*mem_ptr + size) > bufsize) |
49 | { | 49 | { |
50 | DEBUGF("OUT OF MEMORY\n"); | 50 | DEBUGF("OUT OF MEMORY\n"); |
51 | return NULL; | 51 | return NULL; |