Index: src/liveedit.cc |
diff --git a/src/liveedit.cc b/src/liveedit.cc |
index ebe1d1f1e6eb1ccee0306a9a14ab663cb5681475..57258b0c5136178f32279d108dffe75282ecb2a4 100644 |
--- a/src/liveedit.cc |
+++ b/src/liveedit.cc |
@@ -174,7 +174,7 @@ class Differencer { |
static const int kDirectionSizeBits = 2; |
static const int kDirectionMask = (1 << kDirectionSizeBits) - 1; |
- static const int kEmptyCellValue = -1 << kDirectionSizeBits; |
+ static const int kEmptyCellValue = ~0u << kDirectionSizeBits; |
// This method only holds static assert statement (unfortunately you cannot |
// place one in class scope). |