updated for version 7.0e02
diff --git a/src/netbeans.c b/src/netbeans.c
index 8928342..731b98b 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -169,7 +169,7 @@
 	 * Tell gdk we are interested in being called when there
 	 * is input on the editor connection socket
 	 */
-	inputHandler = gdk_input_add(sd, (GdkInputCondition)
+	inputHandler = gdk_input_add((gint)sd, (GdkInputCondition)
 		((int)GDK_INPUT_READ + (int)GDK_INPUT_EXCEPTION),
 						   messageFromNetbeans, NULL);
     }