summaryrefslogtreecommitdiff
path: root/plugins/adplug/adplug/sng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/adplug/adplug/sng.cpp')
-rw-r--r--plugins/adplug/adplug/sng.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/adplug/adplug/sng.cpp b/plugins/adplug/adplug/sng.cpp
index 5e8b6af4..02afb60b 100644
--- a/plugins/adplug/adplug/sng.cpp
+++ b/plugins/adplug/adplug/sng.cpp
@@ -19,7 +19,7 @@
* sng.cpp - SNG Player by Simon Peter <dn.tlp@gmx.net>
*/
-#include <cstring>
+#include <string.h>
#include "sng.h"
CPlayer *CsngPlayer::factory(Copl *newopl)
@@ -27,7 +27,7 @@ CPlayer *CsngPlayer::factory(Copl *newopl)
return new CsngPlayer(newopl);
}
-bool CsngPlayer::load(const std::string &filename, const CFileProvider &fp)
+bool CsngPlayer::load(const char *filename, const CFileProvider &fp)
{
binistream *f = fp.open(filename); if(!f) return false;
int i;