Title: [262412] trunk/Source/_javascript_Core
- Revision
- 262412
- Author
- pma...@igalia.com
- Date
- 2020-06-02 04:29:12 -0700 (Tue, 02 Jun 2020)
Log Message
Fix assert message formatting
https://bugs.webkit.org/show_bug.cgi?id=212591
Reviewed by Adrian Perez de Castro.
Fixes warning by gcc - lineParts.size() is size_t, %zu should be used.
* runtime/FuzzerPredictions.cpp:
(JSC::FuzzerPredictions::FuzzerPredictions):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (262411 => 262412)
--- trunk/Source/_javascript_Core/ChangeLog 2020-06-02 11:28:30 UTC (rev 262411)
+++ trunk/Source/_javascript_Core/ChangeLog 2020-06-02 11:29:12 UTC (rev 262412)
@@ -1,3 +1,15 @@
+2020-06-02 Paulo Matos <pma...@igalia.com>
+
+ Fix assert message formatting
+ https://bugs.webkit.org/show_bug.cgi?id=212591
+
+ Reviewed by Adrian Perez de Castro.
+
+ Fixes warning by gcc - lineParts.size() is size_t, %zu should be used.
+
+ * runtime/FuzzerPredictions.cpp:
+ (JSC::FuzzerPredictions::FuzzerPredictions):
+
2020-06-01 Devin Rousso <drou...@apple.com>
Web Inspector: Graphics: should use the `id` (name) of the animation if it exists
Modified: trunk/Source/_javascript_Core/runtime/FuzzerPredictions.cpp (262411 => 262412)
--- trunk/Source/_javascript_Core/runtime/FuzzerPredictions.cpp 2020-06-02 11:28:30 UTC (rev 262411)
+++ trunk/Source/_javascript_Core/runtime/FuzzerPredictions.cpp 2020-06-02 11:29:12 UTC (rev 262412)
@@ -72,7 +72,7 @@
// FIXME: The current implementation only supports one prediction per lookup key.
const Vector<String>& lineParts = line.split(':');
- RELEASE_ASSERT_WITH_MESSAGE(lineParts.size() == 2, "Expected line with two parts delimited by a colon. Found line with %lu parts.", lineParts.size());
+ RELEASE_ASSERT_WITH_MESSAGE(lineParts.size() == 2, "Expected line with two parts delimited by a colon. Found line with %zu parts.", lineParts.size());
const String& lookupKey = lineParts[0];
const String& predictionString = lineParts[1];
bool ok;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes