--- tellico-1.3.5/src/translators/pilotdb/libflatfile/DB.cpp~ 2009-11-03 16:11:57.000000000 +0200 +++ tellico-1.3.5/src/translators/pilotdb/libflatfile/DB.cpp 2009-11-03 16:12:07.794304369 +0200 @@ -242,7 +242,7 @@ kdDebug() << "list view is corrupt" << endl; } // Determine the length of the name string. - pi_char_t* null_ptr = reinterpret_cast + const pi_char_t* null_ptr = reinterpret_cast (memchr(chunk.data() + 4, 0, 32)); if (null_ptr) lv.name = std::string((char *) (chunk.data() + 4),