--- src/bookfile.cpp.orig 2009-04-24 12:31:47.000000000 +0200 +++ src/bookfile.cpp 2009-04-24 12:42:19.000000000 +0200 @@ -92,7 +92,7 @@ { gchar tmp, *tmp1, *tmp2; - tmp1 = strstr (str1, str2); + tmp1 = (gchar *) strstr (str1, str2); if (!tmp1) return NULL; else