comparison data/fileio/OggVorbisFileReader.cpp @ 1029:1ecd533a9977

Compile fix
author Chris Cannam
date Fri, 13 Feb 2015 13:29:44 +0000
parents d03b3d956358
children a1cd5abcb38b
comparison
equal deleted inserted replaced
1028:abe13fe10ed6 1029:1ecd533a9977
171 { 171 {
172 OggVorbisFileReader *reader = (OggVorbisFileReader *)data; 172 OggVorbisFileReader *reader = (OggVorbisFileReader *)data;
173 173
174 if (!reader->m_commentsRead) { 174 if (!reader->m_commentsRead) {
175 const FishSoundComment *comment; 175 const FishSoundComment *comment;
176 comment = fish_sound_comment_first_byname(fs, "TITLE"); 176 comment = fish_sound_comment_first_byname(fs, (char *)"TITLE");
177 if (comment && comment->value) { 177 if (comment && comment->value) {
178 reader->m_title = QString::fromUtf8(comment->value); 178 reader->m_title = QString::fromUtf8(comment->value);
179 } 179 }
180 comment = fish_sound_comment_first_byname(fs, "ARTIST"); 180 comment = fish_sound_comment_first_byname(fs, (char *)"ARTIST");
181 if (comment && comment->value) { 181 if (comment && comment->value) {
182 reader->m_maker = QString::fromUtf8(comment->value); 182 reader->m_maker = QString::fromUtf8(comment->value);
183 } 183 }
184 comment = fish_sound_comment_first(fs); 184 comment = fish_sound_comment_first(fs);
185 while (comment) { 185 while (comment) {