From 08cebd08c7645737d44de8a801af7c2df7874571 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 1 Nov 2009 09:25:42 -0800 Subject: Bug ID 27895: Calls to protect have an argument list terminated by the integer constant 0 rather than a proper null pointer constant. --- unwind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unwind.c') diff --git a/unwind.c b/unwind.c index 1a8cb987..8c817da5 100644 --- a/unwind.c +++ b/unwind.c @@ -361,7 +361,7 @@ void uw_continue(uw_frame_t *current, uw_frame_t *cont) void uw_init(void) { - protect(&toplevel_env.ev.func_bindings, &exception_subtypes, 0); + protect(&toplevel_env.ev.func_bindings, &exception_subtypes, (obj_t **) 0); exception_subtypes = cons(cons(t, nil), exception_subtypes); uw_register_subtype(type_error, error); uw_register_subtype(internal_err, error); -- cgit v1.2.3