summaryrefslogtreecommitdiffstats
path: root/apps/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 36f45d46e0..93b5247ae9 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -1606,9 +1606,7 @@ int core_load_bmp(const char * filename, struct bitmap *bm, const int bmformat,
if (buf_size > 0)
{
-
- handle = core_alloc_ex(filename, (size_t) buf_size, ops);
-
+ handle = core_alloc_ex(buf_size, ops);
if (handle > 0)
{
core_pin(handle);