doxygen-1.5.9-64archs
authorAnas Nashif <anas.nashif@intel.com>
Thu, 8 Nov 2012 14:38:55 +0000 (06:38 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Thu, 8 Nov 2012 14:38:55 +0000 (06:38 -0800)
qtools/qgdict.cpp
src/util.cpp

index e51b9c1..2048e2d 100644 (file)
@@ -996,15 +996,15 @@ QDataStream &QGDict::read( QDataStream &s )
                break;
            case IntKey:
                {
-                   Q_UINT32 k;
+                   unsigned long k;
                    s >> k;
                    read( s, d );
-                   look_int( k, d, op_insert );
+                   look_int( (long)k, d, op_insert );
                }
                break;
            case PtrKey:
                {
-                   Q_UINT32 k;
+                   unsigned long k;
                    s >> k;
                    read( s, d );
                    // ### cannot insert 0 - this renders the thing
index 2679b65..7c3eda2 100644 (file)
@@ -5021,10 +5021,10 @@ QCString convertNameToFile(const char *name,bool allowDots,bool allowUnderscore)
   {
     static QDict<int> usedNames(10007);
     usedNames.setAutoDelete(TRUE);
-    static int count=1;
+    static long int count=1;
 
     int *value=usedNames.find(name);
-    int num;
+    long int num;
     if (value==0)
     {
       usedNames.insert(name,new int(count));
@@ -5034,7 +5034,7 @@ QCString convertNameToFile(const char *name,bool allowDots,bool allowUnderscore)
     {
       num = *value;
     }
-    result.sprintf("a%05d",num); 
+    result.sprintf("a%05ld",num);
   }
   else // long names
   {