Changeset 192779 in webkit


Ignore:
Timestamp:
Nov 27, 2015 5:24:16 AM (8 years ago)
Author:
Csaba Osztrogonác
Message:

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

Reviewed by Geoffrey Garen.

  • wtf/dtoa/bignum.cc:
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r192583 r192779  
     12015-11-27  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Fix build warning in bignum.cc
     4        https://bugs.webkit.org/show_bug.cgi?id=150797
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        * wtf/dtoa/bignum.cc:
     9
    1102015-11-18  Daniel Bates  <dabates@apple.com>
    211
  • trunk/Source/WTF/wtf/dtoa/bignum.cc

    r149609 r192779  
    9494                               int digits_to_read) {
    9595        uint64_t result = 0;
    96         for (int i = from; i < from + digits_to_read; ++i) {
    97             int digit = buffer[i] - '0';
     96        for (int i = 0; i < digits_to_read; ++i) {
     97            int digit = buffer[from + i] - '0';
    9898            ASSERT(0 <= digit && digit <= 9);
    9999            result = result * 10 + digit;
Note: See TracChangeset for help on using the changeset viewer.