diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-11-12 05:38:12 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-11-12 07:55:39 -0500 |
| commit | f11b87ebf1cd5770f9128e62931183b0c9331067 (patch) | |
| tree | 286bed12845e8843e88d2a317388d115b69d2d95 /src/core/hle/service/mii/mii.cpp | |
| parent | 75dec14f216a48c8e70946e9da646a2e5273925e (diff) | |
service: Resolve sign conversion errors
These are fairly trivial to resolve and most of the changes entail
using RESULT_UNKNOWN over ResultCode(-1).
Diffstat (limited to 'src/core/hle/service/mii/mii.cpp')
| -rw-r--r-- | src/core/hle/service/mii/mii.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/mii/mii.cpp b/src/core/hle/service/mii/mii.cpp index 0b3923ad9..0ffc5009e 100644 --- a/src/core/hle/service/mii/mii.cpp +++ b/src/core/hle/service/mii/mii.cpp @@ -242,7 +242,7 @@ private: const auto index = db.IndexOf(uuid); if (index > MAX_MIIS) { // TODO(DarkLordZach): Find a better error code - rb.Push(ResultCode(-1)); + rb.Push(RESULT_UNKNOWN); rb.Push(index); } else { rb.Push(RESULT_SUCCESS); @@ -268,7 +268,7 @@ private: IPC::ResponseBuilder rb{ctx, 2}; // TODO(DarkLordZach): Find a better error code - rb.Push(success ? RESULT_SUCCESS : ResultCode(-1)); + rb.Push(success ? RESULT_SUCCESS : RESULT_UNKNOWN); } void AddOrReplace(Kernel::HLERequestContext& ctx) { @@ -282,7 +282,7 @@ private: IPC::ResponseBuilder rb{ctx, 2}; // TODO(DarkLordZach): Find a better error code - rb.Push(success ? RESULT_SUCCESS : ResultCode(-1)); + rb.Push(success ? RESULT_SUCCESS : RESULT_UNKNOWN); } void Delete(Kernel::HLERequestContext& ctx) { |
