summaryrefslogtreecommitdiff
path: root/cad/pcb/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'cad/pcb/patches/patch-ak')
-rw-r--r--cad/pcb/patches/patch-ak22
1 files changed, 22 insertions, 0 deletions
diff --git a/cad/pcb/patches/patch-ak b/cad/pcb/patches/patch-ak
new file mode 100644
index 00000000000..6cf2c1b7847
--- /dev/null
+++ b/cad/pcb/patches/patch-ak
@@ -0,0 +1,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;
+ }
+
+ /* ---------------------------------------------------------------------------