summaryrefslogtreecommitdiff
path: root/cad/pcb/patches/patch-an
blob: 45af04d12a920576f73eac8730a07677bff8b2dc (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-an,v 1.1 2002/05/31 19:56:21 dmcmahill Exp $

--- src/report.c.orig	Wed May 13 06:29:57 1998
+++ src/report.c
@@ -47,7 +47,7 @@
 #include <X11/Xaw/Toggle.h>
 
 
-static	int	ReturnCode;		/* filled in by dialog */
+static	long int	ReturnCode;		/* filled in by dialog */
 
 /*
  * some local prototypes
@@ -61,7 +61,7 @@
  */
 static void CB_OK(Widget W, XtPointer ClientData, XtPointer CallData)
 {
-        ReturnCode = (int) ClientData;
+        ReturnCode = (long int) ClientData;
 }
 
 void ReportDrills(void)