016d9f0
--- qt-x11-free-3.3.3/src/kernel/qapplication_x11.cpp.orig	2004-11-09 18:57:15.012843629 +0100
016d9f0
+++ qt-x11-free-3.3.3/src/kernel/qapplication_x11.cpp	2004-11-09 19:02:31.351637807 +0100
016d9f0
@@ -1412,7 +1412,7 @@
016d9f0
 			       False, XA_ATOM, &type, &format, &nitems, &after, &data);
016d9f0
 
016d9f0
 	    if (type == XA_ATOM && format == 32) {
016d9f0
-		ts.writeBlock((const char *) data, nitems * 4);
016d9f0
+		ts.writeBlock((const char *) data, nitems * sizeof(long));
016d9f0
 		offset += nitems;
016d9f0
 	    } else
016d9f0
 		after = 0;