Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
stardict-tools
stardict-tools-3.0.1-gcc44.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File stardict-tools-3.0.1-gcc44.patch of Package stardict-tools
Index: src/bgl2txt.cpp =================================================================== --- src/bgl2txt.cpp.orig +++ src/bgl2txt.cpp @@ -1,3 +1,4 @@ +#include <cstdio> #include <cstring> #include "libbgl2txt.h" Index: src/KangXi.cpp =================================================================== --- src/KangXi.cpp.orig +++ src/KangXi.cpp @@ -57,7 +57,7 @@ void parse_line(const char *line) gchar utf8[7]; gint n = g_unichar_to_utf8(uc, utf8); utf8[n] = '\0'; - char *p; + const char *p; p = strchr(line, '\t'); if (!p) { g_print("Error: %s\n", line); Index: src/Unihan.cpp =================================================================== --- src/Unihan.cpp.orig +++ src/Unihan.cpp @@ -58,7 +58,7 @@ void parse_line(const char *line) const char *han = line+2; char *p; - p = strchr(han, '\t'); + p = (char*)strchr(han, '\t'); if (!p) { g_print("Error: %s\n", line); return; @@ -67,7 +67,7 @@ void parse_line(const char *line) p++; const char *key = p; - p = strchr(key, '\t'); + p = (char*)strchr(key, '\t'); if (!p) { g_print("Error: %s\n", line); return;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor