X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fdemo_menus.c;fp=test%2Fdemo_menus.c;h=28a34a1c9979a3dcc7bf6b71f19fa11a5b90d41b;hp=c742223f0375d313114e7ae03409317cec761539;hb=73b54c0812e4b8dfddcf87f59c7488bb3c10e10d;hpb=c6f54649ed4bf49ec27a522816984d2290201438 diff --git a/test/demo_menus.c b/test/demo_menus.c index c742223f..28a34a1c 100644 --- a/test/demo_menus.c +++ b/test/demo_menus.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2005-2012,2013 Free Software Foundation, Inc. * + * Copyright (c) 2005-2013,2014 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 * @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: demo_menus.c,v 1.52 2013/09/28 21:55:02 tom Exp $ + * $Id: demo_menus.c,v 1.53 2014/08/02 17:24:07 tom Exp $ * * Demonstrate a variety of functions from the menu library. * Thomas Dickey - 2005/4/9 @@ -315,7 +315,7 @@ menu_destroy(MENU * m) if ((count > 0) && (m == mpSelect)) { if (blob && loaded_file) { Trace(("freeing blob %p", blob)); - free((char *) blob); + free((void *) blob); } free(items); items = 0;