Index: tests/DataRefTest.cpp |
diff --git a/tests/DataRefTest.cpp b/tests/DataRefTest.cpp |
index b6daaf95698177d950d5255b9d01883892d16bce..313a61066d3d273b165ff4e040e93f0885f049f9 100644 |
--- a/tests/DataRefTest.cpp |
+++ b/tests/DataRefTest.cpp |
@@ -273,7 +273,7 @@ static void test_files(skiatest::Reporter* reporter) { |
if (!writer.isValid()) { |
SkString msg; |
msg.printf("Failed to create tmp file %s\n", path.c_str()); |
- reporter->reportFailed(msg.c_str()); |
+ reporter->reportFailed(msg); |
return; |
} |
writer.write(s, 26); |