Chromium Code Reviews| Index: src/liveedit.cc |
| diff --git a/src/liveedit.cc b/src/liveedit.cc |
| index def212f63767dd1b0d116d5cf7c351f6d0334c47..bc73445319faa614a4b233838b1c6ef4c531b090 100644 |
| --- a/src/liveedit.cc |
| +++ b/src/liveedit.cc |
| @@ -93,8 +93,9 @@ class Differencer { |
| return; |
| } |
| multiply *= sizeof(int); // NOLINT |
| + ASSERT(multiply >= 0); |
|
Vyacheslav Egorov (Chromium)
2011/06/02 07:00:30
This compilation problem was reverted from svn.
|
| size_t size = multiply; |
| - if (size != multiply) { |
| + if (static_cast<int64_t>(size) != multiply) { |
| // Shouldn't be reachable. |
| ThrowStringException( |
| "Too many lines: " |