summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 21:15:56 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 21:15:56 +0000
commit65d55d8a39fa6d3438b8b14f4b7a5bd961728142 (patch)
tree6c7dbb6c681c9221a44b91344c5ceda53db35f4a /chrome/browser/history
parent1c48541e7a183a418dca7f98a42a72723c178f81 (diff)
downloadchromium_src-65d55d8a39fa6d3438b8b14f4b7a5bd961728142.zip
chromium_src-65d55d8a39fa6d3438b8b14f4b7a5bd961728142.tar.gz
chromium_src-65d55d8a39fa6d3438b8b14f4b7a5bd961728142.tar.bz2
Assorted fixes for 64-bit.
Review URL: http://codereview.chromium.org/160288 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21891 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history')
-rw-r--r--chrome/browser/history/snippet.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/history/snippet.cc b/chrome/browser/history/snippet.cc
index 10e1481..c55761d 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) ||
+ current == BreakIterator::DONE);
}
} // namespace