Unreviewed. Change the format string portable by using "%" PRIx64
instead of "%llx" for uint64_t argument.
This patch removes the build warning below since r252978.
warning: format ‘%llx’ expects argument of type ‘long long unsigned int’,
but argument 3 has type ‘JSC::SpeculatedType {aka long unsigned int}’ [-Wformat=]
* runtime/PredictionFileCreatingFuzzerAgent.cpp:
(JSC::PredictionFileCreatingFuzzerAgent::getPredictionInternal):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@253235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog
index 6dee55c..5ceafe0 100644
--- a/Source/JavaScriptCore/ChangeLog
+++ b/Source/JavaScriptCore/ChangeLog
@@ -1,3 +1,16 @@
+2019-12-06 Joonghun Park <jh718.park@samsung.com>
+
+ Unreviewed. Change the format string portable by using "%" PRIx64
+ instead of "%llx" for uint64_t argument.
+
+ This patch removes the build warning below since r252978.
+
+ warning: format ‘%llx’ expects argument of type ‘long long unsigned int’,
+ but argument 3 has type ‘JSC::SpeculatedType {aka long unsigned int}’ [-Wformat=]
+
+ * runtime/PredictionFileCreatingFuzzerAgent.cpp:
+ (JSC::PredictionFileCreatingFuzzerAgent::getPredictionInternal):
+
2019-12-06 Commit Queue <commit-queue@webkit.org>
Unreviewed, rolling out r253218.
diff --git a/Source/JavaScriptCore/runtime/PredictionFileCreatingFuzzerAgent.cpp b/Source/JavaScriptCore/runtime/PredictionFileCreatingFuzzerAgent.cpp
index 319c532..127c32b 100644
--- a/Source/JavaScriptCore/runtime/PredictionFileCreatingFuzzerAgent.cpp
+++ b/Source/JavaScriptCore/runtime/PredictionFileCreatingFuzzerAgent.cpp
@@ -59,7 +59,7 @@
case op_call_varargs:
case op_tail_call:
case op_tail_call_varargs:
- dataLogF("%s:%llx\n", predictionTarget.lookupKey.utf8().data(), original);
+ dataLogF("%s:%" PRIx64 "\n", predictionTarget.lookupKey.utf8().data(), original);
break;
default: