Title: [192779] trunk/Source/WTF
- Revision
- 192779
- Author
- [email protected]
- Date
- 2015-11-27 05:24:16 -0800 (Fri, 27 Nov 2015)
Log Message
Fix build warning in bignum.cc
https://bugs.webkit.org/show_bug.cgi?id=150797
Reviewed by Geoffrey Garen.
* wtf/dtoa/bignum.cc:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (192778 => 192779)
--- trunk/Source/WTF/ChangeLog 2015-11-27 13:01:54 UTC (rev 192778)
+++ trunk/Source/WTF/ChangeLog 2015-11-27 13:24:16 UTC (rev 192779)
@@ -1,3 +1,12 @@
+2015-11-27 Csaba Osztrogonác <[email protected]>
+
+ 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 <[email protected]>
[iOS] ASSERTION FAILED: temporaryFilePath.last() == '/' in WebCore::openTemporaryFile()
Modified: trunk/Source/WTF/wtf/dtoa/bignum.cc (192778 => 192779)
--- trunk/Source/WTF/wtf/dtoa/bignum.cc 2015-11-27 13:01:54 UTC (rev 192778)
+++ trunk/Source/WTF/wtf/dtoa/bignum.cc 2015-11-27 13:24:16 UTC (rev 192779)
@@ -93,8 +93,8 @@
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;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes