diff options
| author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2019-10-06 23:35:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-06 23:35:12 +0000 |
| commit | dcdd887df3549d41c3fdaf4ad8a20218179039d5 (patch) | |
| tree | ece0f2275d10663f4b49fe737c6401536d0758c8 /src/core/hle/service/bcat/module.cpp | |
| parent | 3cb4c9f08afc57e40fc103e2d087cde7c48bf153 (diff) | |
| parent | 0705ce0ed16da57b9ab282980b23c18e815e1f85 (diff) | |
Merge pull request #2952 from lioncash/warning
bcat: Silence various warnings
Diffstat (limited to 'src/core/hle/service/bcat/module.cpp')
| -rw-r--r-- | src/core/hle/service/bcat/module.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/bcat/module.cpp b/src/core/hle/service/bcat/module.cpp index 4c01bcd99..1f21b0434 100644 --- a/src/core/hle/service/bcat/module.cpp +++ b/src/core/hle/service/bcat/module.cpp @@ -451,7 +451,7 @@ private: IPC::ResponseBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); - rb.Push<u32>(write_size * sizeof(DeliveryCacheDirectoryEntry)); + rb.Push(static_cast<u32>(write_size * sizeof(DeliveryCacheDirectoryEntry))); } void GetCount(Kernel::HLERequestContext& ctx) { @@ -468,7 +468,7 @@ private: IPC::ResponseBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); - rb.Push<u32>(files.size()); + rb.Push(static_cast<u32>(files.size())); } FileSys::VirtualDir root; @@ -525,7 +525,7 @@ private: IPC::ResponseBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); - rb.Push<u32>(size); + rb.Push(static_cast<u32>(size)); } FileSys::VirtualDir root; |
