From 780cc2e9e8de9e98b08ea5d3b7322ab47a616328 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Wed, 17 Dec 2014 14:01:28 -0500 Subject: [PATCH] Fix atexit() warning --- ansi/private/tty-raw-extension.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansi/private/tty-raw-extension.c b/ansi/private/tty-raw-extension.c index 5e613de..891b48a 100644 --- a/ansi/private/tty-raw-extension.c +++ b/ansi/private/tty-raw-extension.c @@ -67,7 +67,7 @@ Scheme_Object *scheme_reload(Scheme_Env *env) { } Scheme_Object *scheme_initialize(Scheme_Env *env) { - atexit(ttyrestore); + atexit((void (*)(void)) ttyrestore); return scheme_reload(env); }