aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/menu/m_item_val.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-02-28 23:48:13 +0000
committerXin LI <delphij@FreeBSD.org>2014-02-28 23:48:13 +0000
commit06bfebdedb0d353f1771adb65731f64461d9bd01 (patch)
treeea0afb272a63d2a9f612979fa0b8095f0db61ec4 /contrib/ncurses/menu/m_item_val.c
parent82cac3982b380d5ba1f8cb3b7a5c5030b41ef422 (diff)
parenta0044ffc69cfe39a3b0b2d208e0952254555afc6 (diff)
downloadsrc-06bfebdedb0d353f1771adb65731f64461d9bd01.tar.gz
src-06bfebdedb0d353f1771adb65731f64461d9bd01.zip
MFV r262617: ncurses 5.9.
Notes
Notes: svn path=/head/; revision=262629
Diffstat (limited to 'contrib/ncurses/menu/m_item_val.c')
-rw-r--r--contrib/ncurses/menu/m_item_val.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/ncurses/menu/m_item_val.c b/contrib/ncurses/menu/m_item_val.c
index cebf693fbd34..337dbfcc6808 100644
--- a/contrib/ncurses/menu/m_item_val.c
+++ b/contrib/ncurses/menu/m_item_val.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 1998-2003,2004 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
@@ -37,7 +37,7 @@
#include "menu.priv.h"
-MODULE_ID("$Id: m_item_val.c,v 1.14 2004/12/11 23:29:34 tom Exp $")
+MODULE_ID("$Id: m_item_val.c,v 1.15 2010/01/23 21:20:10 tom Exp $")
/*---------------------------------------------------------------------------
| Facility : libnmenu
@@ -57,7 +57,7 @@ set_item_value(ITEM * item, bool value)
{
MENU *menu;
- T((T_CALLED("set_item_value(%p,%d)"), item, value));
+ T((T_CALLED("set_item_value(%p,%d)"), (void *)item, value));
if (item)
{
menu = item->imenu;
@@ -97,7 +97,7 @@ set_item_value(ITEM * item, bool value)
NCURSES_EXPORT(bool)
item_value(const ITEM * item)
{
- T((T_CALLED("item_value(%p)"), item));
+ T((T_CALLED("item_value(%p)"), (const void *)item));
returnBool((Normalize_Item(item)->value) ? TRUE : FALSE);
}