X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=menu%2Fm_trace.c;h=e832fd80adb68a53a89730eddd32301f414cbb7a;hp=0f9f90273a6a3536c470434c2d668b2944a61119;hb=16fea43a5003e094f1f7eee30bdd0ef2f2c51dba;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8;ds=sidebyside diff --git a/menu/m_trace.c b/menu/m_trace.c index 0f9f9027..e832fd80 100644 --- a/menu/m_trace.c +++ b/menu/m_trace.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2004,2005 Free Software Foundation, Inc. * + * Copyright (c) 2004-2010,2016 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 * @@ -32,19 +32,19 @@ #include "menu.priv.h" -MODULE_ID("$Id: m_trace.c,v 1.3 2005/01/16 01:06:11 tom Exp $") +MODULE_ID("$Id: m_trace.c,v 1.5 2016/01/23 21:32:00 tom Exp $") NCURSES_EXPORT(ITEM *) _nc_retrace_item(ITEM * code) { - T((T_RETURN("%p"), code)); + T((T_RETURN("%p"), (void *)code)); return code; } NCURSES_EXPORT(ITEM **) _nc_retrace_item_ptr(ITEM ** code) { - T((T_RETURN("%p"), code)); + T((T_RETURN("%p"), (void *)code)); return code; } @@ -58,14 +58,14 @@ _nc_retrace_item_opts(Item_Options code) NCURSES_EXPORT(MENU *) _nc_retrace_menu(MENU * code) { - T((T_RETURN("%p"), code)); + T((T_RETURN("%p"), (void *)code)); return code; } NCURSES_EXPORT(Menu_Hook) _nc_retrace_menu_hook(Menu_Hook code) { - T((T_RETURN("%p"), code)); + T((T_RETURN("%p"), TR_FUNC(code))); return code; }