File doxygen.warnings.patch of Package doxygen

---
 src/dot.cpp        |    2 +-
 src/pycode.l       |    2 +-
 src/util.cpp       |    8 ++++----
 src/vhdldocgen.cpp |    4 ++--
 src/vhdldocgen.h   |    2 +-
 5 files changed, 9 insertions(+), 9 deletions(-)

--- src/dot.cpp.orig
+++ src/dot.cpp
@@ -874,7 +874,7 @@ void DotNode::writeXML(QTextStream &t,bo
 
 void DotNode::writeDEF(QTextStream &t)
 {
-  char* nodePrefix = "        node-";
+  const char* nodePrefix = "        node-";
 
   t << "      node = {" << endl;
   t << nodePrefix << "id    = " << m_number << ';' << endl;
--- src/pycode.l.orig
+++ src/pycode.l
@@ -391,7 +391,7 @@ static void startCodeLine()
   }
 }
 
-static void codify(char* text) 
+static void codify(const char* text)
 { 
   g_code->codify(text);
 }
--- src/util.cpp.orig
+++ src/util.cpp
@@ -4705,9 +4705,9 @@ QCString escapeCharsInString(const char
 {
   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)
     {
@@ -4734,11 +4734,11 @@ QCString escapeCharsInString(const char
       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];
--- src/vhdldocgen.cpp.orig
+++ src/vhdldocgen.cpp
@@ -853,7 +853,7 @@ bool VhdlDocGen::getSigName(QList<QCStri
                             const char* str,QCString& buffer)
 {
   int j,ll,index;
-  char *signal = "signal ";
+  const char *signal = "signal ";
   QCString qmem;
   QCString temp(str);
   QCString st(str);
@@ -1356,7 +1356,7 @@ bool VhdlDocGen::isNumber(const QCString
   #endif 
 }// isNumber
 
-void VhdlDocGen::startFonts(const QCString& q, char *keyword,OutputList& ol)
+void VhdlDocGen::startFonts(const QCString& q, const char *keyword,OutputList& ol)
 {
   ol.startFontClass(keyword);
   ol.docify(q.data());
--- src/vhdldocgen.h.orig
+++ src/vhdldocgen.h
@@ -262,7 +262,7 @@ class VhdlDocGen
     static void writeLink(const MemberDef* mdef,OutputList &ol);
     static void adjustMemberName(QCString& nn);
     static bool membersHaveSpecificType(MemberList *ml,int type);
-    static void startFonts(const QCString& q, char *keyword,OutputList& ol);
+    static void startFonts(const QCString& q, const char *keyword,OutputList& ol);
     static bool isNumber(const QCString& s);
 
   private:
openSUSE Build Service is sponsored by