[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 14:46:03 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 35790fbd60a035e988bb9da1942d7a18ed417619
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Oct 19 19:43:39 2010 +0000
2010-10-19 Kwang Yul Seo <skyul at company100.net>
Reviewed by David Kilzer.
RVCT fails to compile DateMath.cpp due to overloaded function pow
https://bugs.webkit.org/show_bug.cgi?id=47844
Choose std::pow(double, double) among multiple overloaded pow functions
to fix build for RVCT.
* wtf/DateMath.cpp:
(WTF::parseES5DateFromNullTerminatedCharacters):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index e6cdd96..dd06622 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,16 @@
+2010-10-19 Kwang Yul Seo <skyul at company100.net>
+
+ Reviewed by David Kilzer.
+
+ RVCT fails to compile DateMath.cpp due to overloaded function pow
+ https://bugs.webkit.org/show_bug.cgi?id=47844
+
+ Choose std::pow(double, double) among multiple overloaded pow functions
+ to fix build for RVCT.
+
+ * wtf/DateMath.cpp:
+ (WTF::parseES5DateFromNullTerminatedCharacters):
+
2010-10-19 Patrick Gansterer <paroga at webkit.org>
Reviewed by David Kilzer.
diff --git a/JavaScriptCore/wtf/DateMath.cpp b/JavaScriptCore/wtf/DateMath.cpp
index 99333ef..d005859 100644
--- a/JavaScriptCore/wtf/DateMath.cpp
+++ b/JavaScriptCore/wtf/DateMath.cpp
@@ -639,7 +639,7 @@ double parseES5DateFromNullTerminatedCharacters(const char* dateString)
return NaN;
long numFracDigits = postParsePosition - currentPosition;
- seconds += fracSeconds * pow(10, -numFracDigits);
+ seconds += fracSeconds * pow(10.0, static_cast<double>(-numFracDigits));
}
currentPosition = postParsePosition;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list