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

Unified Diff: chrome/browser/password_manager/password_store_x_unittest.cc

Issue 11568033: Small fixes to allow unit tests to compile with gcc 4.7.x (tested with gcc 4.7.2) (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years 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
Index: chrome/browser/password_manager/password_store_x_unittest.cc
===================================================================
--- chrome/browser/password_manager/password_store_x_unittest.cc (revision 174065)
+++ chrome/browser/password_manager/password_store_x_unittest.cc (working copy)
@@ -246,7 +246,7 @@
L"password_element",
autofillable ? L"username_value" : NULL,
autofillable ? L"password_value" : NULL,
- autofillable, false, i + 1 };
+ autofillable, false, static_cast<double>(i + 1) };
forms->push_back(CreatePasswordFormFromData(data));
}
}
« no previous file with comments | « base/string_number_conversions_unittest.cc ('k') | chrome/browser/predictors/autocomplete_action_predictor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698