Index: content/browser/frame_host/navigation_controller_impl.cc |
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc |
index a751ccd3da09dd5b6223138a65e5fe20776e9635..2e2d8cc72ac1a650c5b4a6e640d3948eacfa293b 100644 |
--- a/content/browser/frame_host/navigation_controller_impl.cc |
+++ b/content/browser/frame_host/navigation_controller_impl.cc |
@@ -46,7 +46,7 @@ |
namespace content { |
namespace { |
-const int kInvalidateAll = 0xFFFFFFFF; |
+const unsigned kInvalidateAll = 0xFFFFFFFF; |
// Invoked when entries have been pruned, or removed. For example, if the |
// current entries are [google, digg, yahoo], with the current entry google, |
@@ -140,7 +140,7 @@ bool ShouldKeepOverride(const NavigationEntry* last_entry) { |
// NavigationControllerImpl ---------------------------------------------------- |
-const size_t kMaxEntryCountForTestingNotSet = -1; |
+const size_t kMaxEntryCountForTestingNotSet = static_cast<size_t>(-1); |
// static |
size_t NavigationControllerImpl::max_entry_count_for_testing_ = |