summaryrefslogtreecommitdiff
path: root/plugins/adplug/adplug/jbm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/adplug/adplug/jbm.cpp')
-rw-r--r--plugins/adplug/adplug/jbm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/adplug/adplug/jbm.cpp b/plugins/adplug/adplug/jbm.cpp
index 0990001b..1fd33b40 100644
--- a/plugins/adplug/adplug/jbm.cpp
+++ b/plugins/adplug/adplug/jbm.cpp
@@ -63,7 +63,7 @@ CPlayer *CjbmPlayer::factory(Copl *newopl)
return new CjbmPlayer(newopl);
}
-bool CjbmPlayer::load(const std::string &filename, const CFileProvider &fp)
+bool CjbmPlayer::load(const char *filename, const CFileProvider &fp)
{
binistream *f = fp.open(filename); if(!f) return false;
int filelen = fp.filesize(f);