diff options
Diffstat (limited to 'qtools/qgdict.cpp')
-rw-r--r-- | qtools/qgdict.cpp | 6 |
1 files changed, 3 insertions, 3 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 |