Index: chrome/installer/test/resource_updater.cc |
diff --git a/chrome/installer/test/resource_updater.cc b/chrome/installer/test/resource_updater.cc |
index cf050941d6e0e7a0c4fc562666b88c41d50c44ed..4c6be277504bcd5c43991de63fe825c19ead2226 100644 |
--- a/chrome/installer/test/resource_updater.cc |
+++ b/chrome/installer/test/resource_updater.cc |
@@ -43,7 +43,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()), input.length()) |
+ const_cast<uint8*>(input.data()), |
+ static_cast<DWORD>(input.length())) |
!= FALSE) { |
return true; |
} |