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 ){