--- qtools/qgdict.cpp	Wed Apr 13 15:51:44 2005
+++ qtools/qgdict.cpp	Wed Jun 14 01:43:49 2006
@@ -41,4 +41,5 @@
 #include "qdatastream.h"
 #include <ctype.h>
+#include <sys/types.h>
 
 // NOT REVISED
@@ -1005,5 +1006,5 @@
 	    case PtrKey:
 		{
-		    Q_UINT32 k;
+		    uintptr_t k;
 		    s >> k;
 		    read( s, d );
