Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
stardict-tools
stardict-tools-3.0.1-gcc6.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File stardict-tools-3.0.1-gcc6.patch of Package stardict-tools
Index: stardict-tools-3.0.1/src/ec50.cpp =================================================================== --- stardict-tools-3.0.1.orig/src/ec50.cpp +++ stardict-tools-3.0.1/src/ec50.cpp @@ -602,7 +602,7 @@ void captureAllChn(int chnum) unsigned long offset; char *cptr, *ptr; //cptr bool end = false; - const char const_ff[5]={0x0ff,0x0ff,0x0ff,0x0ff,0x0ff}; + const unsigned char const_ff[5]={0x0ff,0x0ff,0x0ff,0x0ff,0x0ff}; langMask = 'c'; unsigned short int si=0; @@ -620,7 +620,7 @@ void captureAllChn(int chnum) for (; (cptr<(chnptr+si+0x0200) && !end); cptr+=3) { m1613 = 0; - if (compare(cptr, const_ff, 3)>=0) + if (compare(cptr, (const char *)const_ff, 3)>=0) { end = true; } @@ -781,7 +781,7 @@ void captureAllWord(int chnum) unsigned long offset; char *cptr, *ptr; bool end = false; - const char const_ff[5]={0x0ff,0x0ff,0x0ff,0x0ff,0x0ff}; + const unsigned char const_ff[5]={0x0ff,0x0ff,0x0ff,0x0ff,0x0ff}; langMask = 'e'; @@ -797,7 +797,7 @@ void captureAllWord(int chnum) for (; (cptr<(chGrp[chnum]+0x0c00) && !end); cptr+=5) { m1613 = 0; - if (compare(cptr, const_ff, 5)>=0) + if (compare(cptr, (const char *)const_ff, 5)>=0) { end = true; }
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