XWorkstation.st
changeset 4401 7db2b162388d
parent 4400 b7b44acf3e25
child 4409 fdb60a1f78da
--- a/XWorkstation.st	Fri Jul 08 12:15:55 2005 +0200
+++ b/XWorkstation.st	Fri Jul 08 21:37:35 2005 +0200
@@ -79,6 +79,7 @@
 
 
 #include <stdio.h>
+#include <malloc.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #include <X11/Xatom.h>
@@ -5889,7 +5890,7 @@
 	    ev.xclient.data.l[0] = __longIntVal(d1);
 	} else {
 	    if (__isExternalAddress(d1)) {
-		ev.xclient.data.l[0] = (int)__externalAddressVal(d1);
+		ev.xclient.data.l[0] = (INT)__externalAddressVal(d1);
 	    } else {
 		ev.xclient.data.l[0] = 0;
 	    }
@@ -5898,7 +5899,7 @@
 	    ev.xclient.data.l[1] = __longIntVal(d2);
 	} else {
 	    if (__isExternalAddress(d2)) {
-		ev.xclient.data.l[1] = (int)__externalAddressVal(d2);
+		ev.xclient.data.l[1] = (INT)__externalAddressVal(d2);
 	    } else {
 		ev.xclient.data.l[1] = 0;
 	    }
@@ -5907,7 +5908,7 @@
 	    ev.xclient.data.l[2] = __longIntVal(d3);
 	} else {
 	    if (__isExternalAddress(d3)) {
-		ev.xclient.data.l[2] = (int)__externalAddressVal(d3);
+		ev.xclient.data.l[2] = (INT)__externalAddressVal(d3);
 	    } else {
 		ev.xclient.data.l[2] = 0;
 	    }
@@ -5916,7 +5917,7 @@
 	    ev.xclient.data.l[3] = __longIntVal(d4);
 	} else {
 	    if (__isExternalAddress(d4)) {
-		ev.xclient.data.l[3] = (int)__externalAddressVal(d4);
+		ev.xclient.data.l[3] = (INT)__externalAddressVal(d4);
 	    } else {
 		ev.xclient.data.l[3] = 0;
 	    }
@@ -5925,7 +5926,7 @@
 	    ev.xclient.data.l[4] = __longIntVal(d5);
 	} else {
 	    if (__isExternalAddress(d5)) {
-		ev.xclient.data.l[4] = (int)__externalAddressVal(d5);
+		ev.xclient.data.l[4] = (INT)__externalAddressVal(d5);
 	    } else {
 		ev.xclient.data.l[4] = 0;
 	    }
@@ -11778,7 +11779,7 @@
 !XWorkstation class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.473 2005-07-08 10:15:43 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.474 2005-07-08 19:37:35 cg Exp $'
 ! !
 
 XWorkstation initialize!