From ee9b5c573329a296f8c6b8abf0f08eb38c3f4b56 Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 23 Nov 2004 12:05:50 +0000 Subject: [PATCH] LttvExecutionStack macro fixx git-svn-id: http://ltt.polymtl.ca/svn@841 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/lttv/contextmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ltt/branches/poly/lttv/lttv/contextmacros.h b/ltt/branches/poly/lttv/lttv/contextmacros.h index c099ec4d..35f1ca29 100644 --- a/ltt/branches/poly/lttv/lttv/contextmacros.h +++ b/ltt/branches/poly/lttv/lttv/contextmacros.h @@ -346,7 +346,7 @@ * returns : (LttvExecutionState*) */ #define LTTV_PROCESS_STATE_GET_NESTED_EXECUTION_STATE(pse, num_nest)\ - ((LttvExecutionState*)pse->execution_stack[num_nest]) + (&g_array_index(pse->execution_stack,LttvExecutionState,num_nest)) /* LTTV_PROCESS_STATE_GET_NUM_NESTED_EXECUTION_STATES -- 2.34.1