summaryrefslogtreecommitdiff
path: root/firmware/export/load_code.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/load_code.h')
-rw-r--r--firmware/export/load_code.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/load_code.h b/firmware/export/load_code.h
index e37af78..6f5e5d0 100644
--- a/firmware/export/load_code.h
+++ b/firmware/export/load_code.h
@@ -28,7 +28,7 @@
extern void *lc_open(const char *filename, char *buf, size_t buf_size);
/* header is always at the beginning of the blob, and handle actually points
* to the start of the blob */
-static inline char *lc_open_from_mem(void* addr, size_t blob_size)
+static inline void *lc_open_from_mem(void* addr, size_t blob_size)
{
(void)blob_size;
cpucache_invalidate();