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

Unified Diff: chrome/installer/test/resource_updater.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « chrome/installer/test/resource_updater.h ('k') | chrome/installer/util/advanced_firewall_manager_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/test/resource_updater.cc
diff --git a/chrome/installer/test/resource_updater.cc b/chrome/installer/test/resource_updater.cc
index 4c6be277504bcd5c43991de63fe825c19ead2226..933921c7eed4ff3c8fc8d08a6267540af06dfc4f 100644
--- a/chrome/installer/test/resource_updater.cc
+++ b/chrome/installer/test/resource_updater.cc
@@ -5,6 +5,7 @@
#include "chrome/installer/test/resource_updater.h"
#include <windows.h>
+#include <stdint.h>
#include "base/files/file_path.h"
#include "base/files/memory_mapped_file.h"
@@ -43,9 +44,8 @@ bool ResourceUpdater::Update(const std::wstring& name,
if (input.Initialize(input_file)) {
if (UpdateResource(handle_, type.c_str(), name.c_str(), language_id,
- const_cast<uint8*>(input.data()),
- static_cast<DWORD>(input.length()))
- != FALSE) {
+ const_cast<uint8_t*>(input.data()),
+ static_cast<DWORD>(input.length())) != FALSE) {
return true;
}
PLOG(DFATAL) << "UpdateResource failed for resource \"" << name << "\"";
« no previous file with comments | « chrome/installer/test/resource_updater.h ('k') | chrome/installer/util/advanced_firewall_manager_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698