diff options
Diffstat (limited to 'tests/DataRefTest.cpp')
-rw-r--r-- | tests/DataRefTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/DataRefTest.cpp b/tests/DataRefTest.cpp index b6daaf9569..313a61066d 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); |