Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:libraries:c_c++
doxygen
doxygen-1.7.0-warnings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File doxygen-1.7.0-warnings.patch of Package doxygen
Index: src/util.cpp =================================================================== --- src/util.cpp.orig +++ src/util.cpp @@ -4807,9 +4807,9 @@ QCString escapeCharsInString(const char static bool caseSenseNames = Config_getBool("CASE_SENSE_NAMES"); static StrBuf strBuf; strBuf.clear(); - char c; + unsigned char c; const char *p=name; - while ((c=*p++)!=0) + while ((c=(unsigned char)*p++)!=0) { switch(c) { @@ -4837,11 +4837,11 @@ QCString escapeCharsInString(const char case '=': strBuf.addStr("_0A"); break; case '$': strBuf.addStr("_0B"); break; default: - if (c<0) + if (c>0x7f) { static char map[] = "0123456789ABCDEF"; char ids[5]; - unsigned char id = (unsigned char)c; + unsigned char id = c; ids[0]='_'; ids[1]='x'; ids[2]=map[id>>4];
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