From c34227108a18430d1ac4fc0f2907543a6fcff18b Mon Sep 17 00:00:00 2001 From: rpolzer Date: Tue, 5 Oct 2010 11:05:24 +0200 Subject: [PATCH] make radiant compile again --- plugins/model/plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/model/plugin.cpp b/plugins/model/plugin.cpp index e032e398..4fe73b01 100644 --- a/plugins/model/plugin.cpp +++ b/plugins/model/plugin.cpp @@ -74,9 +74,9 @@ 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); + *bufSize = vfsLoadFile( name, (void**) buffer); } void PicoFreeFileFunc( void* file ) -- 2.39.2