SHA256
1
0
forked from pool/doxygen
doxygen/doxygen-1.5.9-64archs.patch

51 lines
1.2 KiB
Diff

---
qtools/qgdict.cpp | 6 +++---
src/util.cpp | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
--- qtools/qgdict.cpp.orig
+++ qtools/qgdict.cpp
@@ -996,15 +996,15 @@ QDataStream &QGDict::read( QDataStream &
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
--- src/util.cpp.orig
+++ src/util.cpp
@@ -4774,10 +4774,10 @@ QCString convertNameToFile(const char *n
{
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));
@@ -4787,7 +4787,7 @@ QCString convertNameToFile(const char *n
{
num = *value;
}
- result.sprintf("a%05d",num);
+ result.sprintf("a%05ld",num);
}
else // long names
{