summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-09 00:11:58 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-09 00:11:58 +0000
commit048ccc8b0aefddb4e653995405db454b0f6941da (patch)
treed70211548dba49a7fb45419e5d5fb00809c5efd4
parente725137c4851185862a0959bec7249276e838f6a (diff)
Patch from Stefan Allius: avoid implicit casting of void *(64bit) to int(32bit)
-rw-r--r--extra/config/mconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/config/mconf.c b/extra/config/mconf.c
index dad2f5f9d..27c0c5340 100644
--- a/extra/config/mconf.c
+++ b/extra/config/mconf.c
@@ -461,7 +461,7 @@ static void conf(struct menu *menu)
switch (type) {
case 'm':
if (single_menu_mode)
- submenu->data = (void *) !submenu->data;
+ submenu->data = (submenu->data)? NULL : (void *)1;
else
conf(submenu);
break;