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

Unified Diff: ppapi/shared_impl/ppb_network_list_private_shared.cc

Issue 10828023: PPAPI/NaCl: Make NaClIPCAdapter transfer handles more generally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-add gyp files Created 8 years, 4 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 | « ppapi/shared_impl/ppb_input_event_shared.cc ('k') | ppapi/shared_impl/var.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_network_list_private_shared.cc
diff --git a/ppapi/shared_impl/ppb_network_list_private_shared.cc b/ppapi/shared_impl/ppb_network_list_private_shared.cc
index 6f8c67ca46ab335ff423b7788c7ed5e343c37c66..043028917cb28122f31971fc87ccd08fff2b515d 100644
--- a/ppapi/shared_impl/ppb_network_list_private_shared.cc
+++ b/ppapi/shared_impl/ppb_network_list_private_shared.cc
@@ -58,7 +58,7 @@ const NetworkList& PPB_NetworkList_Private_Shared::GetNetworkListData() const {
}
uint32_t PPB_NetworkList_Private_Shared::GetCount() {
- return list_->list().size();
+ return static_cast<uint32_t>(list_->list().size());
}
PP_Var PPB_NetworkList_Private_Shared::GetName(uint32_t index) {
@@ -91,7 +91,7 @@ int32_t PPB_NetworkList_Private_Shared::GetIpAddresses(
count, static_cast<uint32_t>(list_->list().at(index).addresses.size()));
memcpy(addresses, &(list_->list().at(index).addresses[0]),
sizeof(PP_NetAddress_Private) * count);
- return list_->list().at(index).addresses.size();
+ return static_cast<int32_t>(list_->list().at(index).addresses.size());
}
PP_Var PPB_NetworkList_Private_Shared::GetDisplayName(uint32_t index) {
« no previous file with comments | « ppapi/shared_impl/ppb_input_event_shared.cc ('k') | ppapi/shared_impl/var.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698