diff -urN blam-1.8.2.orig/src/egg-sharp.cs blam-1.8.2/src/egg-sharp.cs
--- blam-1.8.2.orig/src/egg-sharp.cs	2005-12-05 15:02:00.000000000 +0000
+++ blam-1.8.2/src/egg-sharp.cs	2005-12-05 15:02:50.000000000 +0000
@@ -168,7 +168,7 @@
 	[StructLayout(LayoutKind.Sequential)]
 	internal struct XClientMessageEvent {
 		internal XEventName     type;
-		internal int            serial;
+		internal IntPtr         serial;
 		internal bool           send_event;
 		internal IntPtr         display;
 		internal IntPtr         window;