summaryrefslogtreecommitdiff
path: root/textscreen/guitest.c
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/guitest.c')
-rw-r--r--textscreen/guitest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/textscreen/guitest.c b/textscreen/guitest.c
index 2f8c3733..f95c712c 100644
--- a/textscreen/guitest.c
+++ b/textscreen/guitest.c
@@ -1,3 +1,4 @@
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -22,7 +23,7 @@ int radiobutton_value;
txt_window_t *firstwin;
int checkbox_value;
-void CloseWindow(txt_widget_t *widget, void *user_data)
+void CloseWindow(UNCAST(button), void *user_data)
{
TXT_CloseWindow(firstwin);
}