diff options
Diffstat (limited to 'cad/pcb/patches/patch-ai')
-rw-r--r-- | cad/pcb/patches/patch-ai | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/cad/pcb/patches/patch-ai b/cad/pcb/patches/patch-ai new file mode 100644 index 00000000000..a71b618881f --- /dev/null +++ b/cad/pcb/patches/patch-ai @@ -0,0 +1,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; + |