| Index: base/strings/safe_sprintf_unittest.cc
|
| diff --git a/base/strings/safe_sprintf_unittest.cc b/base/strings/safe_sprintf_unittest.cc
|
| index 02c75f990d1643662cde7990d7cdb1339832e7ad..ff05c6e29902668e9c0c05acb7ce19f1260d94c8 100644
|
| --- a/base/strings/safe_sprintf_unittest.cc
|
| +++ b/base/strings/safe_sprintf_unittest.cc
|
| @@ -61,7 +61,7 @@ TEST(SafeSPrintfTest, NoArguments) {
|
| // always add a trailing NUL; it always deduplicates '%' characters).
|
| static const char text[] = "hello world";
|
| char ref[20], buf[20];
|
| - memset(ref, 'X', sizeof(char) * arraysize(buf));
|
| + memset(ref, 'X', sizeof(ref));
|
| memcpy(buf, ref, sizeof(buf));
|
|
|
| // A negative buffer size should always result in an error.
|
|
|