]> git.pld-linux.org Git - packages/ewebkit.git/blob - ewebkit-bounds.patch
- updated to 0.1.0 r160591 svn snapshot (for EFL 1.8, but still uses e_dbus instead...
[packages/ewebkit.git] / ewebkit-bounds.patch
1 Fix "array subscript is above array bounds [-Werror=array-bounds]"
2 --- WebKit/Source/WTF/wtf/dtoa/double-conversion.cc.orig        2013-12-08 18:29:09.000000000 +0100
3 +++ WebKit/Source/WTF/wtf/dtoa/double-conversion.cc     2013-12-11 16:47:53.187599375 +0100
4 @@ -444,9 +444,9 @@
5          if (current == end) return 0.0;
6          
7          // The longest form of simplified number is: "-<significant digits>.1eXXX\0".
8 -        const int kBufferSize = kMaxSignificantDigits + 10;
9 +        const size_t kBufferSize = kMaxSignificantDigits + 10;
10          char buffer[kBufferSize];  // NOLINT: size is known at compile time.
11 -        int buffer_pos = 0;
12 +        size_t buffer_pos = 0;
13          
14          // Exponent will be adjusted if insignificant digits of the integer part
15          // or insignificant leading zeros of the fractional part are dropped.
This page took 0.059329 seconds and 3 git commands to generate.