forked from pool/doxygen
1.7.0
OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
3a0cc5ee21
commit
9a8c06e3fb
28
doxygen-1.7.0-warnings.patch
Normal file
28
doxygen-1.7.0-warnings.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
--- src/util.cpp.orig 2010-06-15 15:51:48.000000000 +0200
|
||||
+++ src/util.cpp 2010-06-15 15:52:27.000000000 +0200
|
||||
@@ -4794,9 +4794,9 @@
|
||||
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)
|
||||
{
|
||||
@@ -4823,11 +4823,11 @@
|
||||
case '+': strBuf.addStr("_09"); break;
|
||||
case '=': strBuf.addStr("_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