summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-08 06:38:55 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-08 06:38:55 -0800
commitc0698bfab1b7868ac601441cee30f4d30eed8c90 (patch)
tree58ff192ff48c344f7d5078347c5edeb5e7a1232c
parent6d1ab998fe4a9a28ba662386a943bfc1e41c7cd5 (diff)
downloaddoxygen-c0698bfab1b7868ac601441cee30f4d30eed8c90.tar.gz
doxygen-c0698bfab1b7868ac601441cee30f4d30eed8c90.tar.bz2
doxygen-c0698bfab1b7868ac601441cee30f4d30eed8c90.zip
doxygen-1.5.9-64archs
-rw-r--r--qtools/qgdict.cpp6
-rw-r--r--src/util.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/qtools/qgdict.cpp b/qtools/qgdict.cpp
index e51b9c1..2048e2d 100644
--- a/qtools/qgdict.cpp
+++ b/qtools/qgdict.cpp
@@ -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
diff --git a/src/util.cpp b/src/util.cpp
index 2679b65..7c3eda2 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -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
{