$NetBSD: patch-ai,v 1.1 2002/05/31 19:56:21 dmcmahill Exp $

--- src/dialog.c.orig	Wed May 13 06:29:43 1998
+++ src/dialog.c
@@ -55,7 +55,7 @@
 /* ---------------------------------------------------------------------------
  * some local identifiers
  */
-static	int		ReturnCode;		/* used by standard dialogs */
+static	long int		ReturnCode;		/* used by standard dialogs */
 
 /* ---------------------------------------------------------------------------
  * some local prototypes
@@ -71,7 +71,7 @@
  */
 static void CB_OK(Widget W, XtPointer ClientData, XtPointer CallData)
 {
-	ReturnCode = (int) ClientData;
+	ReturnCode = (long int) ClientData;
 }
 
 /* ---------------------------------------------------------------------------
@@ -124,7 +124,7 @@
  * waits until returncode is differnt from -1
  * see also CB_OK()
  */
-int DialogEventLoop(int *Code)
+int DialogEventLoop(long int *Code)
 {
 	XEvent	event;