]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
make radiant compile again
authorrpolzer <rpolzer@hagger.div0.qc.to>
Tue, 5 Oct 2010 09:05:24 +0000 (11:05 +0200)
committerrpolzer <rpolzer@hagger.div0.qc.to>
Tue, 5 Oct 2010 09:05:24 +0000 (11:05 +0200)
plugins/model/plugin.cpp

index e032e3981a4378727317e0dad037f87077226c2b..4fe73b01a7a9f1fae0b804d3af02153b4355a19d 100644 (file)
@@ -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 )