@@ -160,7 +160,7 @@ void asan_dispatch_call_block_and_release(void *block) {
160
160
VReport (2 ,
161
161
" asan_dispatch_call_block_and_release(): "
162
162
" context: %p, pthread_self: %p\n " ,
163
- block, pthread_self ());
163
+ block, ( void *) pthread_self ());
164
164
asan_register_worker_thread (context->parent_tid , &stack);
165
165
// Call the original dispatcher for the block.
166
166
context->func (context->block );
@@ -193,7 +193,7 @@ asan_block_context_t *alloc_asan_context(void *ctxt, dispatch_function_t func,
193
193
asan_block_context_t *asan_ctxt = alloc_asan_context (ctxt, func, &stack); \
194
194
if (Verbosity () >= 2 ) { \
195
195
Report (#dispatch_x_f " (): context: %p, pthread_self: %p\n " , \
196
- asan_ctxt, pthread_self ()); \
196
+ asan_ctxt, ( void *) pthread_self ()); \
197
197
PRINT_CURRENT_STACK (); \
198
198
} \
199
199
return REAL (dispatch_x_f)(dq, (void *)asan_ctxt, \
@@ -224,7 +224,7 @@ INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group,
224
224
asan_block_context_t *asan_ctxt = alloc_asan_context (ctxt, func, &stack);
225
225
if (Verbosity () >= 2 ) {
226
226
Report (" dispatch_group_async_f(): context: %p, pthread_self: %p\n " ,
227
- asan_ctxt, pthread_self ());
227
+ asan_ctxt, ( void *) pthread_self ());
228
228
PRINT_CURRENT_STACK ();
229
229
}
230
230
REAL (dispatch_group_async_f)(group, dq, (void *)asan_ctxt,
0 commit comments