From a289c402b10e501c23f0182f6bd4725458774f64 Mon Sep 17 00:00:00 2001 From: Laurent Carlier Date: Fri, 19 Mar 2010 16:31:50 +0000 Subject: [PATCH] [INTERPRETER] * BUG: Fix building when DEBUG_EVENT is defined. git-svn-id: svn://localhost/gambas/trunk@2813 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- main/gbx/gbx_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/gbx/gbx_api.c b/main/gbx/gbx_api.c index 86fc0cb15..5be1d9170 100644 --- a/main/gbx/gbx_api.c +++ b/main/gbx/gbx_api.c @@ -551,7 +551,7 @@ int GB_Raise(void *object, int event_id, int nparam, ...) if (func_id) { #if DEBUG_EVENT - class = OBJECT_class(object); + CLASS *class = OBJECT_class(object); printf("GB_Raise(%p, %d, %s)\n", object, event_id, class->event[event_id].name); printf("func_id = %d parent = (%s %p)\n", func_id, parent->class->name, parent); if (OBJECT_is_locked(parent))