summaryrefslogtreecommitdiff
path: root/src/resources/loaders/soundloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/loaders/soundloader.cpp')
-rw-r--r--src/resources/loaders/soundloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/loaders/soundloader.cpp b/src/resources/loaders/soundloader.cpp
index a70d188fa..35a938f76 100644
--- a/src/resources/loaders/soundloader.cpp
+++ b/src/resources/loaders/soundloader.cpp
@@ -46,7 +46,7 @@ namespace
return nullptr;
const ResourceLoader *const
rl = static_cast<const ResourceLoader *const>(v);
- SDL_RWops *const rw = VirtFs::RWopsOpenRead(rl->path.c_str());
+ SDL_RWops *const rw = VirtFs::RWopsOpenRead(rl->path);
if (!rw)
{
reportAlways("Physfs error: %s", VirtFs::getLastError());