From c3524b83b9bfb7e943f9b91b0d624129a78e5963 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 22 Sep 2013 12:31:35 -0400 Subject: Use explicit cast between void* and pointer-to-function. --- guile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guile.c') diff --git a/guile.c b/guile.c index 20e58d4..9c9bf5c 100644 --- a/guile.c +++ b/guile.c @@ -72,10 +72,10 @@ guile_define_module (void *data UNUSED) #include "gmk-default.h" /* Register a subr for GNU make's eval capability. */ - scm_c_define_gsubr ("gmk-expand", 1, 0, 0, guile_expand_wrapper); + scm_c_define_gsubr ("gmk-expand", 1, 0, 0, (scm_t_subr) guile_expand_wrapper); /* Register a subr for GNU make's eval capability. */ - scm_c_define_gsubr ("gmk-eval", 1, 0, 0, guile_eval_wrapper); + scm_c_define_gsubr ("gmk-eval", 1, 0, 0, (scm_t_subr) guile_eval_wrapper); /* Define the rest of the module. */ scm_c_eval_string (GUILE_module_defn); -- cgit v1.2.3