Index: chrome/browser/history/snippet.cc |
diff --git a/chrome/browser/history/snippet.cc b/chrome/browser/history/snippet.cc |
index 10e1481df3a3a35198332146b6d7910bbec734dd..c55761dd1f437c2699ef0428ecc58ed598ab5c6e 100644 |
--- a/chrome/browser/history/snippet.cc |
+++ b/chrome/browser/history/snippet.cc |
@@ -150,8 +150,9 @@ bool IsNextMatchWithinSnippetWindow(BreakIterator* bi, |
// heuristics to speed things up if necessary, but it's not likely that |
// we need to bother. |
bi->next(kSnippetContext); |
- int64_t current = bi->current(); |
- return (next_match_start < current || current == BreakIterator::DONE); |
+ int64 current = bi->current(); |
+ return (next_match_start < static_cast<uint64>(current) || |
Evan Martin
2009/07/28 21:15:29
this looks suspicious for 32-bit. but all of this
|
+ current == BreakIterator::DONE); |
} |
} // namespace |