diff options
| -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 b8f6845..0ba86a5 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, { void *x; - if (*mem_ptr + size > bufsize) + if ((size_t) (*mem_ptr + size) > bufsize) { DEBUGF("OUT OF MEMORY\n"); return NULL; |