summaryrefslogtreecommitdiff
path: root/testsuites/validation/tr-event-mgr-model-8.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/validation/tr-event-mgr-model-8.c')
-rw-r--r--testsuites/validation/tr-event-mgr-model-8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/validation/tr-event-mgr-model-8.c b/testsuites/validation/tr-event-mgr-model-8.c
index f60c15ffd0..4042b2597c 100644
--- a/testsuites/validation/tr-event-mgr-model-8.c
+++ b/testsuites/validation/tr-event-mgr-model-8.c
@@ -143,7 +143,7 @@ static void TestSegment3( Context* ctx ) {
T_log( T_NORMAL, "Returned 0x%x from Send", sendrc );
T_log(T_NORMAL,"@@@ 3 CALL CheckNoPreemption");
- log = &ctx->thread_switch_log;
+ log = (T_thread_switch_log *) &ctx->thread_switch_log;
T_le_sz( log->header.recorded, 1 );
for ( size_t i = 0; i < log->header.recorded; ++i ) {
T_ne_u32( log->events[ i ].executing, ctx->worker_id );