summaryrefslogtreecommitdiff
path: root/src/resources/sdlmusic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sdlmusic.cpp')
-rw-r--r--src/resources/sdlmusic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sdlmusic.cpp b/src/resources/sdlmusic.cpp
index 0360ef37b..5834e8b49 100644
--- a/src/resources/sdlmusic.cpp
+++ b/src/resources/sdlmusic.cpp
@@ -81,6 +81,6 @@ bool SDLMusic::play(const int loops, const int fadeIn)
int SDLMusic::calcMemoryLocal() const
{
// +++ not used size of SDL_RWops
- return sizeof(SDLMusic) +
+ return static_cast<int>(sizeof(SDLMusic)) +
Resource::calcMemoryLocal();
}