Title: [214597] trunk/Source/_javascript_Core
Revision
214597
Author
keith_mil...@apple.com
Date
2017-03-29 21:10:17 -0700 (Wed, 29 Mar 2017)

Log Message

Unreviewed, fix the build, again. Hopefully for the last time!

* runtime/Options.cpp:
(JSC::parse):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (214596 => 214597)


--- trunk/Source/_javascript_Core/ChangeLog	2017-03-30 03:11:02 UTC (rev 214596)
+++ trunk/Source/_javascript_Core/ChangeLog	2017-03-30 04:10:17 UTC (rev 214597)
@@ -1,5 +1,12 @@
 2017-03-29  Keith Miller  <keith_mil...@apple.com>
 
+        Unreviewed, fix the build, again. Hopefully for the last time!
+
+        * runtime/Options.cpp:
+        (JSC::parse):
+
+2017-03-29  Keith Miller  <keith_mil...@apple.com>
+
         Unreviewed, windows build fix.
 
         * runtime/Options.cpp:

Modified: trunk/Source/_javascript_Core/runtime/Options.cpp (214596 => 214597)


--- trunk/Source/_javascript_Core/runtime/Options.cpp	2017-03-30 03:11:02 UTC (rev 214596)
+++ trunk/Source/_javascript_Core/runtime/Options.cpp	2017-03-30 04:10:17 UTC (rev 214597)
@@ -89,13 +89,16 @@
     return sscanf(string, "%u", &value) == 1;
 }
 
-#if USE(JSVALUE64)
-static bool parse(const char* string, size_t& value)
+static bool parse(const char* string, unsigned long& value)
 {
     return sscanf(string, "%lu", &value);
 }
-#endif
 
+static bool parse(const char* string, unsigned long long& value)
+{
+    return sscanf(string, "%llu", &value);
+}
+
 static bool parse(const char* string, double& value)
 {
     return sscanf(string, "%lf", &value) == 1;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to