aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabaseSong.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DatabaseSong.cxx')
-rw-r--r--src/DatabaseSong.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DatabaseSong.cxx b/src/DatabaseSong.cxx
index a8f2188cc..592d38b85 100644
--- a/src/DatabaseSong.cxx
+++ b/src/DatabaseSong.cxx
@@ -31,7 +31,7 @@ DatabaseDetachSong(const char *uri, Error &error)
if (db == nullptr)
return nullptr;
- Song *tmp = db->GetSong(uri, error);
+ const LightSong *tmp = db->GetSong(uri, error);
if (tmp == nullptr)
return nullptr;