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

Unified Diff: chrome/browser/google/google_update_win_unittest.cc

Issue 985573003: Support 32-bit subversion fields in base::Version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a static assert Created 5 years, 9 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
Index: chrome/browser/google/google_update_win_unittest.cc
diff --git a/chrome/browser/google/google_update_win_unittest.cc b/chrome/browser/google/google_update_win_unittest.cc
index 82f2e69bc64fa6d5e3d129d7cd93f97e8655c251..97498e4b03e2b81fd87f3b732953d65a82833789 100644
--- a/chrome/browser/google/google_update_win_unittest.cc
+++ b/chrome/browser/google/google_update_win_unittest.cc
@@ -344,7 +344,7 @@ class GoogleUpdateWinTest : public ::testing::TestWithParam<bool> {
// Compute a newer version.
base::Version current_version(CHROME_VERSION_STRING);
- new_version_ = base::StringPrintf(L"%hu.%hu.%hu.%hu",
+ new_version_ = base::StringPrintf(L"%u.%u.%u.%u",
current_version.components()[0],
current_version.components()[1],
current_version.components()[2] + 1,

Powered by Google App Engine
This is Rietveld 408576698