--- a/upmpd/ohmetacache.hxx
+++ b/upmpd/ohmetacache.hxx
@@ -9,7 +9,7 @@
 /** 
  * Saving and restoring the metadata cache to/from disk
  */
-extern bool dmcacheSave(const char *fn, const mcache_type& cache);
-extern bool dmcacheRestore(const char *fn, mcache_type& cache);
+extern bool dmcacheSave(const string& fn, const mcache_type& cache);
+extern bool dmcacheRestore(const string& fn, mcache_type& cache);
 
 #endif /* _OHMETACACHE_H_X_INCLUDED_ */