diff options
author | Steve Block <steveblock@google.com> | 2009-12-15 09:54:21 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2009-12-15 09:54:21 +0000 |
commit | d0582a6c46733687d045e4188a1bcd0123c758a1 (patch) | |
tree | 4139657adad206f69647f3d03f6fb2da2e8ae14e /src/flags.cc | |
parent | 3ce2e2076e8e3e60cf1810eec160ea2d8557e9e7 (diff) | |
download | android_external_v8-d0582a6c46733687d045e4188a1bcd0123c758a1.tar.gz android_external_v8-d0582a6c46733687d045e4188a1bcd0123c758a1.tar.bz2 android_external_v8-d0582a6c46733687d045e4188a1bcd0123c758a1.zip |
Update V8 to r3431 as required by WebKit r51976.
Change-Id: I567392c3f8c0a0d5201a4249611ac4ccf468cd5b
Diffstat (limited to 'src/flags.cc')
-rw-r--r-- | src/flags.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flags.cc b/src/flags.cc index 5df3afd5..d444c976 100644 --- a/src/flags.cc +++ b/src/flags.cc @@ -303,8 +303,8 @@ static void SplitArgument(const char* arg, // get the value if any if (*arg == '=') { // make a copy so we can NUL-terminate flag name - int n = arg - *name; - CHECK(n < buffer_size); // buffer is too small + size_t n = arg - *name; + CHECK(n < static_cast<size_t>(buffer_size)); // buffer is too small memcpy(buffer, *name, n); buffer[n] = '\0'; *name = buffer; |