Index: chrome/common/spellcheck_marker.h |
diff --git a/chrome/common/spellcheck_marker.h b/chrome/common/spellcheck_marker.h |
index 3b04cadb298fe974f51ccb68da103cbd930114a5..bc02918460cbfef43ef764f0f97dbbf56a965940 100644 |
--- a/chrome/common/spellcheck_marker.h |
+++ b/chrome/common/spellcheck_marker.h |
@@ -20,7 +20,7 @@ class SpellCheckMarker { |
}; |
// IPC requires a default constructor. |
- SpellCheckMarker() : hash(-1), offset(-1) {} |
+ SpellCheckMarker() : hash(0xFFFFFFFF), offset(static_cast<size_t>(-1)) {} |
SpellCheckMarker(uint32 hash, size_t offset) : hash(hash), offset(offset) {} |