X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftest_opaque.c;h=6ec75fa11a20602c6c85cf5b1a9d177aa6a12460;hp=6ae2689e61eb59e4fc238271103e1ba6050fbde2;hb=d448186ac240901c6976dc74c260f052d3ed53e4;hpb=c8e187fc9682a3c5cfaebc480fc98d8585f6caf6 diff --git a/test/test_opaque.c b/test/test_opaque.c index 6ae2689e..6ec75fa1 100644 --- a/test/test_opaque.c +++ b/test/test_opaque.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: test_opaque.c,v 1.8 2009/08/29 19:02:25 tom Exp $ + * $Id: test_opaque.c,v 1.9 2009/10/24 21:21:29 tom Exp $ * * Author: Thomas E Dickey * @@ -231,7 +231,7 @@ show_opaque(WINDOW *stswin, WINDOW *txtwin, bool before, int active) show_keyword(stswin, n, active, "wgetparent"); to_result(stswin, n, TRUE); - wprintw(stswin, "%p", wgetparent(txtwin)); + wprintw(stswin, "%p", (void *) wgetparent(txtwin)); ++n; show_keyword(stswin, n, active, "wgetscrreg");