From c59a81906888c6c3dc87ee8b12e009c344824a51 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Tue, 25 May 2010 22:19:30 +0000 Subject: [PATCH] Fix a warning --- tests/song_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/song_test.cpp b/tests/song_test.cpp index b91da0db5..8b4c2f47d 100644 --- a/tests/song_test.cpp +++ b/tests/song_test.cpp @@ -76,7 +76,7 @@ TEST_F(SongTest, DetectsWindows1251) { } TEST_F(SongTest, LeavesASCIIAlone) { - char* ascii = "foobar"; + const char* ascii = "foobar"; UniversalEncodingHandler handler; TagLib::ByteVector bytes(ascii); TagLib::String str = handler.parse(bytes);