From c49a7e1d8e5f1340467cc7fd18361b1b1618fe34 Mon Sep 17 00:00:00 2001 From: Aurora Date: Wed, 28 Sep 2016 02:22:40 +0200 Subject: [PATCH] Fix derp --- source/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fs.c b/source/fs.c index b29abd1..da8573b 100644 --- a/source/fs.c +++ b/source/fs.c @@ -46,7 +46,7 @@ u32 fileRead(void *dest, const char *path, u32 maxSize) { u32 size = f_size(&file); if(!(maxSize > 0 && size > maxSize)) - f_read(&file, dest, size, (unsigned int *)ret); + f_read(&file, dest, size, (unsigned int *)&ret); f_close(&file); }