Let the macro ANNOTATE_BENIGN_RACE_STATIC() do what the comment above that macro says what it does.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11421 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/drd/drd.h b/drd/drd.h
index 28deff3..370ef92 100644
--- a/drd/drd.h
+++ b/drd/drd.h
@@ -468,7 +468,8 @@
public: \
static_var##_annotator() \
{ \
- ANNOTATE_BENIGN_RACE(&static_var, #static_var ": " description); \
+ ANNOTATE_BENIGN_RACE_SIZED(&static_var, sizeof(static_var), \
+ #static_var ": " description); \
} \
} the_##static_var##_annotator; \
}