LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File reciteword-0.8.4-gcc4.patch of Package recitword (Project home:opensuse_zh)

diff --git a/src/bookfile.cpp b/src/bookfile.cpp
index 2589399..98eb498 100644
--- a/src/bookfile.cpp
+++ b/src/bookfile.cpp
@@ -92,7 +92,7 @@ rw_book_get_value (const gchar * str1, gchar * str2,gint utf8)
 {
 	gchar tmp, *tmp1, *tmp2;
 
-	tmp1 = strstr (str1, str2);
+	tmp1 = (gchar *)strstr (str1, str2);
 	if (!tmp1)
 		return NULL;
 	else