$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;