summaryrefslogtreecommitdiff
path: root/src
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 /src
parent6d1ab998fe4a9a28ba662386a943bfc1e41c7cd5 (diff)
downloaddoxygen-c0698bfab1b7868ac601441cee30f4d30eed8c90.tar.gz
doxygen-c0698bfab1b7868ac601441cee30f4d30eed8c90.tar.bz2
doxygen-c0698bfab1b7868ac601441cee30f4d30eed8c90.zip
doxygen-1.5.9-64archs
Diffstat (limited to 'src')
-rw-r--r--src/util.cpp6
1 files changed, 3 insertions, 3 deletions
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
{