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))