diff options
Diffstat (limited to 'src/k3bmusicbrainz.cpp')
-rw-r--r-- | src/k3bmusicbrainz.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k3bmusicbrainz.cpp b/src/k3bmusicbrainz.cpp index 6fd9d9e..a2b0f54 100644 --- a/src/k3bmusicbrainz.cpp +++ b/src/k3bmusicbrainz.cpp @@ -62,7 +62,7 @@ int K3bMusicBrainz::query( const TQCString& trm ) } char* args[2]; - args[0] = trm.data(); + args[0] = const_cast<TQCString&>(trm).data(); args[1] = 0; if( mb_QueryWithArgs( d->mb, (char*)MBQ_TrackInfoFromTRMId, (char**)args ) ) { |