From 8a4815d63b758c9528920a0e4b4abcf1135a20eb Mon Sep 17 00:00:00 2001 From: Jay Dolan Date: Fri, 2 Feb 2018 07:14:31 -0500 Subject: [PATCH] Remove unnecessary cast in PicoLoadFunc --- plugins/model/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/model/plugin.cpp b/plugins/model/plugin.cpp index 313bb8b1..ce930da3 100644 --- a/plugins/model/plugin.cpp +++ b/plugins/model/plugin.cpp @@ -88,7 +88,7 @@ void PicoPrintFunc( int level, const char *str ){ } void PicoLoadFileFunc( const char *name, byte **buffer, int *bufSize ){ - *bufSize = vfsLoadFile( (const char*) name, (void**) buffer, 0 ); + *bufSize = vfsLoadFile( name, (void**) buffer, 0 ); } void PicoFreeFileFunc( void* file ){