Title: [214593] trunk/Source/_javascript_Core
- Revision
- 214593
- Author
- keith_mil...@apple.com
- Date
- 2017-03-29 19:58:15 -0700 (Wed, 29 Mar 2017)
Log Message
Unreviewed, windows build fix.
* runtime/Options.cpp:
(JSC::parse):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (214592 => 214593)
--- trunk/Source/_javascript_Core/ChangeLog 2017-03-30 02:39:51 UTC (rev 214592)
+++ trunk/Source/_javascript_Core/ChangeLog 2017-03-30 02:58:15 UTC (rev 214593)
@@ -1,5 +1,12 @@
2017-03-29 Keith Miller <keith_mil...@apple.com>
+ Unreviewed, windows build fix.
+
+ * runtime/Options.cpp:
+ (JSC::parse):
+
+2017-03-29 Keith Miller <keith_mil...@apple.com>
+
WebAssembly: B3IRGenerator should pool constants
https://bugs.webkit.org/show_bug.cgi?id=170266
Modified: trunk/Source/_javascript_Core/runtime/Options.cpp (214592 => 214593)
--- trunk/Source/_javascript_Core/runtime/Options.cpp 2017-03-30 02:39:51 UTC (rev 214592)
+++ trunk/Source/_javascript_Core/runtime/Options.cpp 2017-03-30 02:58:15 UTC (rev 214593)
@@ -89,10 +89,12 @@
return sscanf(string, "%u", &value) == 1;
}
+#if USE(JSVALUE64)
static bool parse(const char* string, size_t& value)
{
- return sscanf(string, "%zu", &value);
+ return sscanf(string, "%lu", &value);
}
+#endif
static bool parse(const char* string, double& value)
{
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes