diff options
-rw-r--r-- | pthread_support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_support.c b/pthread_support.c index 36bbda5f..88c458b5 100644 --- a/pthread_support.c +++ b/pthread_support.c @@ -546,7 +546,7 @@ STATIC GC_thread GC_new_thread(pthread_t id) first_thread_used = TRUE; GC_ASSERT(NULL == GC_threads[hv]); # if defined(THREAD_SANITIZER) && defined(CPPCHECK) - GC_noop1(result->dummy[0]); + GC_noop1((unsigned char)result->dummy[0]); # endif } else { result = (struct GC_Thread_Rep *) |