Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1597)

Unified Diff: ui/base/range/range.h

Issue 11889017: some fixes and warning disables in ui/ for building on win x64 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove stupid code Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_win.cc ('k') | ui/base/range/range_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/range/range.h
diff --git a/ui/base/range/range.h b/ui/base/range/range.h
index dac8d15e7406ead714cac802760be5486581aaee..b8bf4786824ee61c708b80f3ee896a0b544d6d4f 100644
--- a/ui/base/range/range.h
+++ b/ui/base/range/range.h
@@ -65,7 +65,7 @@ class UI_EXPORT Range {
// Returns the absolute value of the length.
size_t length() const {
- int length = end() - start();
+ ptrdiff_t length = end() - start();
return length >= 0 ? length : -length;
}
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_win.cc ('k') | ui/base/range/range_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698