blob: a71b618881fb47ad5722aaaf331ba583cef7ffb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$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;
|