# define CDS_TSAN_ANNOTATE_IGNORE_RW_END \
CDS_TSAN_ANNOTATE_IGNORE_WRITES_END;\
CDS_TSAN_ANNOTATE_IGNORE_READS_END
-# define CDS_TSAN_ANNOTATE_NEW_MEMORY( addr, sz ) AnnotateNewMemory( (char *) __FILE__, __LINE__, reinterpret_cast<void *>(addr), sz )
+# define CDS_TSAN_ANNOTATE_NEW_MEMORY( addr, sz ) AnnotateNewMemory( __FILE__, __LINE__, reinterpret_cast<void *>(addr), sz )
# define CDS_TSAN_ANNOTATE_MUTEX_CREATE( addr ) AnnotateRWLockCreate( __FILE__, __LINE__, reinterpret_cast<void *>(addr))
# define CDS_TSAN_ANNOTATE_MUTEX_DESTROY( addr ) AnnotateRWLockDestroy( __FILE__, __LINE__, reinterpret_cast<void *>(addr))
void AnnotateIgnoreWritesBegin(const char *f, int l);
void AnnotateIgnoreWritesEnd(const char *f, int l);
- void AnnotateNewMemory(char *f, int l, void * mem, size_t size);
+ void AnnotateNewMemory( const char *f, int l, void * mem, size_t size);
- void AnnotateRWLockCreate( char *f, int l, void* m );
- void AnnotateRWLockDestroy( char *f, int l, void* m );
+ void AnnotateRWLockCreate( const char *f, int l, void* m );
+ void AnnotateRWLockDestroy( const char *f, int l, void* m );
void AnnotateRWLockAcquired( const char *f, int l, void *m, long is_w );
void AnnotateRWLockReleased( const char *f, int l, void *m, long is_w );
}