Skip to content
Permalink
Browse files
Fix build warning in bignum.cc
https://bugs.webkit.org/show_bug.cgi?id=150797

Reviewed by Geoffrey Garen.

* wtf/dtoa/bignum.cc:


Canonical link: https://commits.webkit.org/169740@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@192779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
ossy-szeged committed Nov 27, 2015
1 parent 65682a3 commit 2bde37c30c2a934609935c93345b94d6fd38c9ba
Showing with 11 additions and 2 deletions.
  1. +9 −0 Source/WTF/ChangeLog
  2. +2 −2 Source/WTF/wtf/dtoa/bignum.cc
@@ -1,3 +1,12 @@
2015-11-27 Csaba Osztrogonác <ossy@webkit.org>

Fix build warning in bignum.cc
https://bugs.webkit.org/show_bug.cgi?id=150797

Reviewed by Geoffrey Garen.

* wtf/dtoa/bignum.cc:

2015-11-18 Daniel Bates <dabates@apple.com>

[iOS] ASSERTION FAILED: temporaryFilePath.last() == '/' in WebCore::openTemporaryFile()
@@ -93,8 +93,8 @@ namespace double_conversion {
int from,
int digits_to_read) {
uint64_t result = 0;
for (int i = from; i < from + digits_to_read; ++i) {
int digit = buffer[i] - '0';
for (int i = 0; i < digits_to_read; ++i) {
int digit = buffer[from + i] - '0';
ASSERT(0 <= digit && digit <= 9);
result = result * 10 + digit;
}

0 comments on commit 2bde37c

Please sign in to comment.