summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-11-12 10:07:23 +0100
committerLioncash <mathew1800@gmail.com>2019-11-12 13:06:48 +0100
commit27ab99490e1eea0ce56e591b000bc02592ac8a60 (patch)
tree379df0fe4a51d5642852e9d9db018cf30a5c9e85 /src
parentarm_unicorn: Resolve sign conversion warnings (diff)
downloadyuzu-27ab99490e1eea0ce56e591b000bc02592ac8a60.tar
yuzu-27ab99490e1eea0ce56e591b000bc02592ac8a60.tar.gz
yuzu-27ab99490e1eea0ce56e591b000bc02592ac8a60.tar.bz2
yuzu-27ab99490e1eea0ce56e591b000bc02592ac8a60.tar.lz
yuzu-27ab99490e1eea0ce56e591b000bc02592ac8a60.tar.xz
yuzu-27ab99490e1eea0ce56e591b000bc02592ac8a60.tar.zst
yuzu-27ab99490e1eea0ce56e591b000bc02592ac8a60.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/result.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h
index 8a3701151..500ea882c 100644
--- a/src/core/hle/result.h
+++ b/src/core/hle/result.h
@@ -183,7 +183,7 @@ class ResultVal {
public:
/// Constructs an empty `ResultVal` with the given error code. The code must not be a success
/// code.
- ResultVal(ResultCode error_code = ResultCode(-1)) : result_code(error_code) {
+ ResultVal(ResultCode error_code = ResultCode(UINT32_MAX)) : result_code(error_code) {
ASSERT(error_code.IsError());
}