forked from pool/doxygen
Accepting request 28036 from devel:tools
Copy from devel:tools/doxygen based on submit request 28036 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/28036 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/doxygen?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
1c4a87bc33
commit
1d757505cf
29
doxygen-1.6.0-warnings.patch
Normal file
29
doxygen-1.6.0-warnings.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
diff -U 3 -H -d -r -N -- doxygen-1.6.0/src/util.cpp doxygen-1.6.0-warnings/src/util.cpp
|
||||
--- doxygen-1.6.0/src/util.cpp 2009-08-20 14:13:51.000000000 +0200
|
||||
+++ doxygen-1.6.0-warnings/src/util.cpp 2009-08-21 15:07:16.000000000 +0200
|
||||
@@ -4760,9 +4760,9 @@
|
||||
{
|
||||
static bool caseSenseNames = Config_getBool("CASE_SENSE_NAMES");
|
||||
QCString result;
|
||||
- char c;
|
||||
+ unsigned char c;
|
||||
const char *p=name;
|
||||
- while ((c=*p++)!=0)
|
||||
+ while ((c=(unsigned char)*p++)!=0)
|
||||
{
|
||||
switch(c)
|
||||
{
|
||||
@@ -4789,11 +4789,11 @@
|
||||
case '+': result+="_09"; break;
|
||||
case '=': result+="_0A"; 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];
|
Reference in New Issue
Block a user