summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2023-11-12 05:33:05 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2023-11-12 05:34:28 -0500
commit56875344b2a62845b8a494830bfb0a5f6ed2d3d6 (patch)
treeb4297e62ade5b927dc38bc0c1f28e0e1a8197b7a
parent2fa6dcbc1779b60e9f30d83c723bc39da0a0c281 (diff)
issue #20: c23 boolean conflict
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r--src/Shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Shell.c b/src/Shell.c
index 027448b..6c36cd4 100644
--- a/src/Shell.c
+++ b/src/Shell.c
@@ -1006,10 +1006,10 @@ _XtShellColormap(Widget widget, int closure, XrmValue *value)
static void
_XtShellAncestorSensitive(Widget widget, int closure, XrmValue *value)
{
- static Boolean true = True;
+ static Boolean true_value = True;
if (widget->core.parent == NULL)
- value->addr = (XPointer) (&true);
+ value->addr = (XPointer) (&true_value);
else
_XtCopyFromParent(widget, closure, value);
}