summaryrefslogtreecommitdiff
path: root/cad/pcb/patches/patch-ak
blob: 6cf2c1b78474288283741159740f25717c0ce105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ak,v 1.1 2002/05/31 19:56:21 dmcmahill Exp $

--- src/fileselect.c.orig	Wed May 13 06:29:45 1998
+++ src/fileselect.c
@@ -79,7 +79,7 @@
  */
 static	Widget		InputW,		/* input field */
 			CurrentW;	/* label (current directory) */
-static	int		ReturnCode;	/* returncode of buttons */
+static	long int	ReturnCode;	/* returncode of buttons */
 static	String		CurrentDir;	/* current directory */
 static	Boolean		LockCallback;	/* used by CB_Text() */
 static	SelectorType	DirectorySelector =
@@ -138,7 +138,7 @@
  */
 static void CB_CancelOrOK(Widget W, XtPointer ClientData, XtPointer CallData)
 {
-	ReturnCode = (int) ClientData;
+	ReturnCode = (long int) ClientData;
 }
 
 /* ---------------------------------------------------------------------------