diff --git a/libs/picomodel/picointernal.h b/libs/picomodel/picointernal.h
index 8e9bba25..853809ee 100644
--- a/libs/picomodel/picointernal.h
+++ b/libs/picomodel/picointernal.h
@@ -132,7 +132,7 @@ void _pico_printf( int level, const char *format, ... );
char *_pico_stristr( char *str, const char *substr );
void _pico_unixify( char *path );
int _pico_nofname( const char *path, char *dest, int destSize );
-char *_pico_nopath( const char *path );
+const char *_pico_nopath( const char *path );
char *_pico_setfext( char *path, const char *ext );
int _pico_getline( char *buf, int bufsize, char *dest, int destsize );
char *_pico_strlwr( char *str );
diff --git a/libs/picomodel/picomodel.vcproj b/libs/picomodel/picomodel.vcproj
index 1cfa803c..0ef3325f 100644
--- a/libs/picomodel/picomodel.vcproj
+++ b/libs/picomodel/picomodel.vcproj
@@ -192,6 +192,10 @@
RelativePath=".\pm_obj.c"
>
+
+