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

Unified Diff: win8/metro_driver/winrt_utils.cc

Issue 11884021: size_t -> uint32 for building on win x64 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: e_invalidarg -> e_unexpected Created 7 years, 11 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 | « win8/metro_driver/file_picker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/winrt_utils.cc
diff --git a/win8/metro_driver/winrt_utils.cc b/win8/metro_driver/winrt_utils.cc
index f00011ddcf1231130284e5fbce6b72af3eff7d4d..04b97d0c953e3e582066aa1fe0d285053279906c 100644
--- a/win8/metro_driver/winrt_utils.cc
+++ b/win8/metro_driver/winrt_utils.cc
@@ -23,7 +23,8 @@ void CheckHR(HRESULT hr, const char* message) {
HSTRING MakeHString(const string16& str) {
HSTRING hstr;
- if (FAILED(::WindowsCreateString(str.c_str(), str.size(), &hstr))) {
+ if (FAILED(::WindowsCreateString(str.c_str(), static_cast<UINT32>(str.size()),
+ &hstr))) {
PLOG(DFATAL) << "Hstring creation failed";
}
return hstr;
« no previous file with comments | « win8/metro_driver/file_picker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698