Commit 74e673a3 authored by jberlin@webkit.org's avatar jberlin@webkit.org

Fix Lion build after r119073.

* platform/Decimal.cpp:
(WebCore::Decimal::toString):
Do not attempt to assign a unsigned long long to an int.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e87a773e
2012-05-31 Jessie Berlin <jberlin@apple.com>
Fix Lion build after r119073.
* platform/Decimal.cpp:
(WebCore::Decimal::toString):
Do not attempt to assign a unsigned long long to an int.
2012-05-31 Christophe Dumez <christophe.dumez@intel.com>
[EFL] Enable CSS_IMAGE_SET flag
......
......@@ -942,7 +942,7 @@ String Decimal::toString() const
const int maxDigits = DBL_DIG;
uint64_t coefficient = m_data.coefficient();
int lastDigit = 0;
uint64_t lastDigit = 0;
while (countDigits(coefficient) > maxDigits) {
lastDigit = coefficient % 10;
coefficient /= 10;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment