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
32
33
34
35
36
37
38
39
40
|
$NetBSD: patch-al,v 1.1 2002/05/31 19:56:21 dmcmahill Exp $
--- src/lgdialog.c.orig Wed May 13 06:29:46 1998
+++ src/lgdialog.c
@@ -57,7 +57,7 @@
/* ---------------------------------------------------------------------------
* some local identifiers
*/
-static int ReturnCode; /* return code of buttons */
+static long int ReturnCode; /* return code of buttons */
static LayerGroupType LayerGroups; /* working copy of current lg */
/* ---------------------------------------------------------------------------
@@ -65,7 +65,7 @@
*/
static void CB_CancelOrOK(Widget W, XtPointer ClientData, XtPointer CallData)
{
- ReturnCode = (int) ClientData;
+ ReturnCode = (long int) ClientData;
}
/* ---------------------------------------------------------------------------
@@ -78,7 +78,7 @@
last,
layernameW,
radioGroup[MAX_LAYER+2];
- int i,
+ long int i,
group,
layer;
XtTranslations translationtable;
@@ -223,7 +223,7 @@
LayerGroups.Number[group] = 0;
for (i = 0; i < MAX_LAYER+2; i++)
{
- if ((group = (int) XawToggleGetCurrent(radioGroup[i])) != 0)
+ if ((group = (long int) XawToggleGetCurrent(radioGroup[i])) != 0)
{
group--;
LayerGroups.Entries[group][LayerGroups.Number[group]++] = i;
|