From c655d234d57edde5be31fd619ac118779c2c51b5 Mon Sep 17 00:00:00 2001 From: Jay Dolan Date: Thu, 1 Feb 2018 12:01:50 -0500 Subject: [PATCH] Fix OS X compile error for pico function prototype. --- 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 47bc4345..313bb8b1 100644 --- a/plugins/model/plugin.cpp +++ b/plugins/model/plugin.cpp @@ -87,7 +87,7 @@ void PicoPrintFunc( int level, const char *str ){ } } -void PicoLoadFileFunc( char *name, byte **buffer, int *bufSize ){ +void PicoLoadFileFunc( const char *name, byte **buffer, int *bufSize ){ *bufSize = vfsLoadFile( (const char*) name, (void**) buffer, 0 ); }