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

Unified Diff: chrome/browser/extensions/settings/settings_frontend.cc

Issue 10537037: Fix gcc 4.7 building problems - cont' (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Modified per Brett and Peter's comment Created 8 years, 6 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 | « no previous file | media/base/simd/convert_rgb_to_yuv_sse2.cc » ('j') | webkit/glue/webcursor_gtk_data.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/settings/settings_frontend.cc
diff --git a/chrome/browser/extensions/settings/settings_frontend.cc b/chrome/browser/extensions/settings/settings_frontend.cc
index 99d0441fc72ad6fdd8586199d477628bdbbee515..3cc29ca96d7422167ee4c3c1791f933d501541a8 100644
--- a/chrome/browser/extensions/settings/settings_frontend.cc
+++ b/chrome/browser/extensions/settings/settings_frontend.cc
@@ -91,9 +91,9 @@ void CallbackWithUnlimitedStorage(
SettingsStorageQuotaEnforcer::Limits GetLocalLimits() {
SettingsStorageQuotaEnforcer::Limits limits = {
- api::storage::local::QUOTA_BYTES,
- UINT_MAX,
- UINT_MAX
+ static_cast<size_t>(api::storage::local::QUOTA_BYTES),
+ static_cast<size_t>(UINT_MAX),
Aaron Boodman 2012/06/07 07:40:03 std::numeric_limits<size_t>::max() ?
Han 2012/06/07 18:02:59 Good point, done.
+ static_cast<size_t>(UINT_MAX)
};
return limits;
}
« no previous file with comments | « no previous file | media/base/simd/convert_rgb_to_yuv_sse2.cc » ('j') | webkit/glue/webcursor_gtk_data.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698