diff --git a/api/docs/tutorial.dox b/api/docs/tutorial.dox index 2d5420b8801..53d6609b2e9 100644 --- a/api/docs/tutorial.dox +++ b/api/docs/tutorial.dox @@ -300,8 +300,8 @@ event_basic_block(void *drcontext, void *tag, instrlist_t *bb, dr_mutex_unlock(as_built_lock); + /* insert clean call */ -+ dr_insert_clean_call(drcontext, bb, instrlist_first(bb), clean_call, false, 1, -+ OPND_CREATE_INT32(num_instructions)); ++ dr_insert_clean_call(drcontext, bb, instrlist_first(bb), (void *)clean_call, ++ false, 1, OPND_CREATE_INT32(num_instructions)); + return DR_EMIT_DEFAULT; }