File doxygen-64archs.diff of Package doxygen
--- src/util.cpp.orig 2007-03-14 13:36:26.000000000 +0100
+++ src/util.cpp 2007-04-05 09:14:42.000000000 +0200
@@ -4537,15 +4537,15 @@
QCString result;
if (shortNames) // use short names only
{
- static QDict<int> usedNames(10007);
+ static QDict<long int> usedNames(10007);
usedNames.setAutoDelete(TRUE);
- static int count=1;
+ static long int count=1;
- int *value=usedNames.find(name);
- int num;
+ long int *value=usedNames.find(name);
+ long int num;
if (value==0)
{
- usedNames.insert(name,new int(count));
+ usedNames.insert(name,new long int(count));
num = count++;
}
else
@@ -4577,11 +4577,11 @@
// output can be located in a different dir.
if (Doxygen::htmlDirMap==0)
{
- Doxygen::htmlDirMap=new QDict<int>(100003);
+ Doxygen::htmlDirMap=new QDict<long int>(100003);
Doxygen::htmlDirMap->setAutoDelete(TRUE);
}
- static int curDirNum=0;
- int *dirNum = Doxygen::htmlDirMap->find(result);
+ static long int curDirNum=0;
+ long int *dirNum = Doxygen::htmlDirMap->find(result);
if (dirNum==0) // new name
{
Doxygen::htmlDirMap->insert(result,new int(curDirNum));
--- qtools/qgdict.cpp.orig 2006-07-21 21:54:13.000000000 +0200
+++ qtools/qgdict.cpp 2007-04-05 09:14:06.000000000 +0200
@@ -996,7 +996,7 @@
break;
case IntKey:
{
- Q_UINT32 k;
+ Q_UINT64 k;
s >> k;
read( s, d );
look_int( k, d, op_insert );
@@ -1004,7 +1004,7 @@
break;
case PtrKey:
{
- Q_UINT32 k;
+ Q_UINT64 k;
s >> k;
read( s, d );
// ### cannot insert 0 - this renders the thing
@@ -1040,10 +1040,10 @@
s << ((QAsciiBucket*)n)->getKey();
break;
case IntKey:
- s << (Q_UINT32)((QIntBucket*)n)->getKey();
+ s << (Q_UINT64)((QIntBucket*)n)->getKey();
break;
case PtrKey:
- s << (Q_UINT32)0; // ### cannot serialize a pointer
+ s << (Q_UINT64)0; // ### cannot serialize a pointer
break;
}
write( s, n->getData() ); // write data