LttvExecutionStack macro fixx
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 23 Nov 2004 12:05:50 +0000 (12:05 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 23 Nov 2004 12:05:50 +0000 (12:05 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@841 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/contextmacros.h

index c099ec4dbc50baf22814d88fda0f391cdb95c808..35f1ca29cb58722e3988d2c7e97b6d4ead73339b 100644 (file)
  * 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
This page took 0.023973 seconds and 4 git commands to generate.